Dex

Big hearted fluffdragon...

...fictional ex-90s platformer mascot, nerd, plural, ΘΔ.



experimenting with different ways to handle content warnings on the website for a potential future redesign

the <details> and <summary> tags are pretty cool aside from some browsers not liking the list-style: none on the summary so it keeps the little triangle

Content warnings: the scary picture from Look Around You

VIEWER BEWARE YOU'RE IN FOR A SCARE

Artist: Peter Serafinowicz

You must log in to comment.

in reply to @Dex's post:

i believe the triangle is a summary:before that u can cusrltomise with content!
Also keep in mind that details cannot be turned into a flexbox for some reason I don't know why but you'll need to put a flexbox as a div inside the details tag

unfortunately there is no way to target summary:before or summary::-webkit-details-marker with inline css (that is, on cohost). one hack i figured out to get it to disappear on all browsers is to set font-size: 0 on the summary and then reset it manually on the summary's children with font-size: 1rem. very messy, but the dorito is gone