Topic: Floating Action Button labels?
GollyJer pro asked 8 years ago
aescariom pro answered 6 years ago
.fixed-action-btn { &.width-auto{ .fixed_collapse{ left: auto; text-align: right; padding: 0px; .span-floating{ width: 100%; position: relative; z-index: 1; vertical-align: middle; display: inline-block; overflow: hidden; transition: all 0.2 sease-in-out; padding: 0 0 5px 0; cursor: pointer; .badge{ display: inline; font-size: 100%; } } } } }
<div class="fixed-action-btn width-auto" style="bottom: 45px; right: 24px;"> <a class="btn-floating btn-large red waves-light"mdbWavesEffect (click)="fixed.toggle($event)"> <i class="fa fa-pencil"></i> </a> <div class="fixed_collapse" [mdbCollapse]="isCollapsed" #fixed="bs-collapse"> <span class="span-floating"> <span class="badge grey">New</span> <a class="btn-floating red waves-light"mdbWavesEffect><iclass="fa fa-star"></i></a> </span> <a class="btn-floating red waves-light"mdbWavesEffect><iclass="fa fa-star"></i></a> <a class="btn-floating yellow darken-1 waves-light"mdbWavesEffect><iclass="fa fa-user"></i></a> <a class="btn-floating green waves-light"mdbWavesEffect><iclass="fa fa-envelope"></i></a> <a class="btn-floating blue waves-light"mdbWavesEffect><iclass="fa fa-shopping-cart"></i></a> </div>
Marta Wierzbicka staff commented 6 years ago
Thank you for the solution, I hope it helps other users.Michal Szymanski staff answered 8 years ago
GollyJer pro answered 8 years ago
Michal Szymanski staff answered 8 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No