Reputation: 1191
I'd like to change the icon with CSS for this snippet of HTML5:
<details>
<summary>Hello</summary>
<p>The details</p>
</details>
Any clues?
Upvotes: 2
Views: 645
Reputation: 15134
On WebKit browsers you could do:
summary::-webkit-details-marker {display: none}
summary:before {content: ""}
details[open] summary:before {content: ""}
Upvotes: 2