DEV Community

Discussion on: Why they still don't use SVG for landing pages in 2019?

Collapse
 
juancarlospaco profile image
Juan Carlos

SVG is XML, CSS is JSON like.
XML is hella verbose compared to JSON.
CSS minifies better than SVG.

Usually SVG generated by designers is XML+Metadata+Garbage+CSS+JS+Comments that you still need to add HTML+CSS to work.

Collapse
 
nesterow profile image
Anton Nesterov

I converted SVG to plain format in order to get rid of useless garbage and editor's meta.

I still think most of the html+css work can be automated, but I agree that SVG/XML is harder to minify.