DEV Community

Discussion on: A Colossal CSS Art!

Collapse
 
jordanbusby profile image
Jordan

Hi Temani, I was wondering if learning SVG is important to mastering CSS? I have done a lot of your tutorials and I consider you to be one of the best. Do you know SVG? Will learning SVG help me to master CSS?

Thank you!

Jordan

Collapse
 
afif profile image
Temani Afif

SVG is not important to be good at CSS but it's a good skill that can be useful. SVGs are some kind of "images" and we use a lot of images in CSS (background, mask, etc) so SVG can help you create some complex shapes to be used in CSS. Shapes that may be hard to achieve with CSS.

Some SVG filter can also be useful in CSS (ex: dev.to/afif/css-shapes-with-rounde...).

So knowing SVG is a plus but you can master CSS without. I rarely use SVG in my works (almost never) but some of my complex code can be simplified with some little SVG when it comes to fancy shapes