Interesting video, thanks for sharing. Where I'm working, we use the 'list-style-image', but we utilize a URL with the path to the SVG file. What reasons should I give to show them that this is a better practice?
There's a case for both and it may come down to preference. I touch SVG code a lot, so I prefer placing it in CSS because it reduces server requests and less files to manipulate if I wanted to change a color in the SVG code. If you're only using that list-style-image one page, it's probably better to load the image only for that page with an actual file and not the CSS that gets loaded on every single web page. All that said, if the SVG code file size amounts to 1kb, it doesn't matter much in the scheme of things, unless you're serving millions of pageviews daily.
Thank you so much! Saved me on my finals
Glad it helped :)
Awesome tutorial Matt. Thanks for sharing the knowledge
Happy to share :)
Straight to the point. Thank you. It's like a piece of candy that packs a punch. 🤙🏿
Thanks for the kind words :)
Great video, man 💪 So much info compressed in just 2 min 👏
Thanks, I watch tuts too and find myself walking away from the ones that slowly progress to the point.
Underrated video
Thanks, I appreciate it
Interesting video, thanks for sharing. Where I'm working, we use the 'list-style-image', but we utilize a URL with the path to the SVG file. What reasons should I give to show them that this is a better practice?
There's a case for both and it may come down to preference. I touch SVG code a lot, so I prefer placing it in CSS because it reduces server requests and less files to manipulate if I wanted to change a color in the SVG code. If you're only using that list-style-image one page, it's probably better to load the image only for that page with an actual file and not the CSS that gets loaded on every single web page. All that said, if the SVG code file size amounts to 1kb, it doesn't matter much in the scheme of things, unless you're serving millions of pageviews daily.
very useful video
Thanks!