Hacker News new | ask | show | jobs
by LocalPCGuy 1235 days ago
Not really super important, but thoughts on using an SVG when the same hamburger button affect can be generated with just a tiny bit of HTML/CSS? As little as one element with :before/:after for the top/bottom bars, although sometimes it needs a wrapping element for best styling.
1 comments

BTW, it's been ::before/::after (pseudo-element, not pseudo-class) since IE9 (2011).
Oh sure, I am aware, just mis-typed it in the comment.