Hacker News new | ask | show | jobs
by mrtbld 4597 days ago
You're right. I know that CSS needs to be applied to a document; without a document there's nothing to be styled.

Still, to me saying that something is in "pure" CSS would imply that the HTML is not more complicated than e.g.:

  <div id=homer></div>
(I guess that making a drawing such as the ones in the OP using only one div would not be possible until browsers accept pseudo-elements to be defined on top of other pseudo-elements.)

I understand that by "pure" the author meant "without using images". But IMHO using dozens of empty div elements isn't "pure" CSS.

1 comments

I see what you mean. Saying CSS/HTML would be a more precise way of describing this.