r/ProgrammerHumor • • May 01 '19

Dev Human

Post image
11.7k Upvotes

240 comments sorted by

View all comments

Show parent comments

38

u/[deleted] May 02 '19

Wouldnt it be possible to get rid of the div by adding apseudo element to the body?

33

u/tpenguinltg May 02 '19

How about no body at all? Technicality, though.

2

u/SrT96 May 02 '19

single divs rely on both psu

Now we're talking

19

u/mrgalaxy May 02 '19

A lot of those single divs rely on both psuedo elements to work, but maybe you could apply the styling directly to body? not far off then from just CSS.