DEV Community

Discussion on: Rate my SVG art! [Compared to CSS art]

 
alvaromontoro profile image
Alvaro Montoro

And there's more to CSS art than positioning:

  • Selectors and combinators
  • Transforms
  • Filters and masks
  • Transitions and animations
  • Shadows, box model, borders, units, sizing......

Also, position: absolute is not inherently wrong. It highly depends how you use it and for what: for positioning in a web app, Ok; For laying out elements in a website, bad.

If developers knew how to use CSS properly, the complexity of the web would be reduced considerably. But people prefer to spend 50 hours with GIMP/Illustrator than 50 hours with CSS. But once more, that's my perspective. Not criticizing you or your view. It's just my weird way of seeing things :)

Thread Thread
 
grahamthedev profile image
GrahamTheDev • Edited

I would agree if it was learn CSS or learn illustrator, learn CSS.

But by the time you are at the level of creating icons and art with CSS you have almost certainly mastered the bits you need to build a site.

Much better for a developer to learn a graphics package once they know how to do layout, positioning and general styling, as most work will be received as an image file from a designer.

Being able to grab the icons that are already designed is far more useful and productive than trying to recreate them in CSS as the designer has already done the work? And if you work solo it is far more productive to recreate client logos etc. using a graphics package than CSS.

Plus nowadays we have (urgh) TailWind etc. so learning CSS is less important (and it hurts me saying that as a CSS purist).

I mean, you already know this as your awesome "help a teacher" post was SVG as drawing that in CSS would have taken ages!

edit - you edited your response, sneaky! Not sure how much of this is relevant anymore lol!

Really fun debate and just to clarify, I may be playing devils advocate here, but I do agree that CSS art is a useful skill, I just want to make that clear that I do not actually think it is pointless, even if I leaned into that for a bit of fun!

Thread Thread
 
alvaromontoro profile image
Alvaro Montoro

Too late... we are coming for you with pitchforks and torches!!!

South park animated gif showing people with pitchforks and torches

Thread Thread
 
alvaromontoro profile image
Alvaro Montoro

On the bright side, they are CSS pitchforks and torches, so they are not going to be too painful ;)

Thread Thread
 
grahamthedev profile image
GrahamTheDev • Edited

Haha, given how hard you defended CSS I am not surprised.

After a good spirited and interesting conversation we just had it is great to turn nasty 👿 so...


 

 

bring it on, CSS sucks

 

 


(kidding, but I am up for a war again as I was too busy for the last one, hence my late entry!)

Thread Thread
 
grahamthedev profile image
GrahamTheDev

🤣