Topic: How to create square button

pawled free asked 3 years ago

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

Piotr Urbaniak free answered 3 years ago

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

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

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

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: 2.0.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No