Topic: Icon inside a floating button is not centered for H1
giorgio.ponza pro premium priority asked 7 years ago
<main> <h1> <a class="btn-floating btn-lg black"><i class="fa fa-star"></i></a> <a class="btn-floating black"><i class="fa fa-star"></i></a> <a class="btn-floating btn-sm black"><i class="fa fa-star"></i></a> </h1> <h2> <a class="btn-floating btn-lg black"><i class="fa fa-star"></i></a> <a class="btn-floating black"><i class="fa fa-star"></i></a> <a class="btn-floating btn-sm black"><i class="fa fa-star"></i></a> </h2> </main>
Marta Szymanska staff pro premium answered 7 years ago
h1 { font-size: 0; }
. This code will center button icon again.
Best,
Marta FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No