Topic: How to create square button

pawled free asked 4 years ago


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


Piotr Urbaniak free answered 4 years ago


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.

FREE CONSULTATION

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

Status

Answered

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