Topic: Fluid class for .svgs?
MWCCredit pro premium priority answered 7 years ago
Ollie Vincent pro answered 7 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.
Jakub Strebeyko staff answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: Yes
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No