Topic: Fluid class for .svgs?
MWCCredit priority asked 6 years ago
MWCCredit priority answered 6 years ago
Jakub Strebeyko staff answered 6 years ago
Ollie Vincent pro answered 6 years ago
Hi,
The image-fluid class is
img{max-width:100%;}
so could you not do something similar for svg's?
I have never tried it, I just use FontAwesome 5 :) (which are tehcnically svg's anyway).
I have also found that
svg{display:flex; justify-content:center; align-items:center;}
helps to centre them.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No