News for hackers. Stuff that matters.
Re:Accessible hamburger buttons without JavaScript by LocalPCGuy on Friday January 27, 2023 @11:09AM (#34547593)
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.
Re:Accessible hamburger buttons without JavaScript by toastal on Friday January 27, 2023 @02:14PM (#34550379)
BTW, it's been ::before/::after (pseudo-element, not pseudo-class) since IE9 (2011).
Re:Accessible hamburger buttons without JavaScript by LocalPCGuy on Monday February 06, 2023 @11:24AM (#34679723)
Oh sure, I am aware, just mis-typed it in the comment.