How to create square button


Topic: How to create square button

pawled pro premium priority asked a year ago

How to create square shaped button with just an icon inside? Not rectangle. Square.


Hello pawled,
You can try adding the class .btn-floating and inline style border-radius: 0;
For example:

  <a
   class="btn btn-primary btn-lg btn-floating"
   style="background-color: #ac2bac; border-radius: 0;"
   href="#!"
   role="button">
    <i class="fab fa-instagram">
    </i>
</a>

If this solution does not solve your issue please send more details.
Best regards


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 2.0.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No
Tags