necolas / normalize.css

A modern alternative to CSS resets
http://necolas.github.io/normalize.css/
MIT License
52.28k stars 10.67k forks source link

correct summary styling #894

Open scottaohara opened 1 year ago

scottaohara commented 1 year ago

closes #891

This revised style ensures that only summary elements that are properly used will be provided the display: list-item style.

garrettw commented 1 year ago

Adding this to my normalize in https://github.com/garrettw/vitals

samuelreichor commented 7 months ago

I would suggest du completely hide the default detail marker like that:

summary::-webkit-details-marker {
 display: none;
}

summary {
 list-style: none;
}