75
submitted 8 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml

top 14 comments
sorted by: hot top controversial new old
[-] Oha@lemmy.ohaa.xyz 23 points 8 months ago

I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS I HATE CSS

[-] produnis@discuss.tchncs.de 4 points 8 months ago

Hate is just a four letter Word

[-] phoenixz@lemmy.ca 2 points 8 months ago

CSS is three letters

[-] mr_satan@monyet.cc 18 points 8 months ago

This feels a lot like vector graphics. I would imagine one could automate SVG to CSS translation.

[-] Crow@lemmy.blahaj.zone 2 points 8 months ago

Presumably, tho it might be a little difficult. SVGs use a lot of paths, where you specify the edges of elements. Afaik you can't do that exact thing in CSS but you could probably split it up into a bunch of triangles. Idk how you'd want to do bezier curves tho

[-] mr_satan@monyet.cc 2 points 8 months ago* (last edited 8 months ago)

Yeah, a one to one conversion might not be possible. Although this example also approximates the image by making it two tone and using simple shapes to compose more complex ones.

It still feels as a non-trivial task tho.

[-] Artyom@lemm.ee 15 points 8 months ago

You are the reason I have imposter syndrome.

[-] onlinepersona@programming.dev 10 points 8 months ago

Someone wrote a parser for an inkscape changelog? Impressive!

P.S Fuck CSS

Anti Commercial AI thingyCC BY-NC-SA 4.0

[-] umbrella@lemmy.ml 9 points 8 months ago

thats some impressive masochism

[-] DumbAceDragon@sh.itjust.works 7 points 8 months ago* (last edited 8 months ago)

That's SCSS, cheater!

[-] Bit125@sh.itjust.works 4 points 8 months ago
[-] yogthos@lemmy.ml 5 points 8 months ago
[-] sorter_plainview@lemmy.today 3 points 8 months ago

TBH, it does not look automated. Writing in SCSS, with basic shapes.

[-] hacknsplat@aussie.zone 2 points 8 months ago* (last edited 8 months ago)

The real miracle here is that the browser can render the final result so quickly.

this post was submitted on 09 Apr 2024
75 points (97.5% liked)

Programmer Humor

32753 readers
23 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS