-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Coming from https://css-tricks.com/how-to-animate-the-details-element/
Turn off the default triangle:
details summary::-webkit-details-marker { display:none; }. You can't animate that one.
Chrome doesn't support this yet, however, so we also need to use its non-standard
::-webkit-details-markerpseudo-element to customize the appearance in that browser.
The intention seems to be that https://developer.mozilla.org/en-US/docs/Web/CSS/::marker will cover <summary> as well, but doesn't seem to be the case just yet.
https://stackoverflow.com/questions/6195329/how-can-you-hide-the-arrow-that-is-displayed-by-default-on-the-html5-details-e seems to gather some information as well.
Tried to find a spec or some docs like some -webkits have, but didn't yet manage to find anything.