samedi 21 septembre 2019

Is there a way to remove the triangle that Chrome adds when using the tag?

I'm using the <details> tag. And my code looks like this:

<details>
    <summary> Click me </summary>
    <p>Showing content</p>
</details>

In Firefox, it runs exactly as I expect. No triangles. Nothing. Just the text clickable content:
How it looks like in Firefox

But, on the other hand, Chrome adds a triangle which looks like this:
How it looks like in Chrome

How can I remove that triangle?




Aucun commentaire:

Enregistrer un commentaire