How can you hide the arrow that is displayed by default on the HTML5
element in Chrome?

后端 未结 6 2282
孤街浪徒
孤街浪徒 2020-12-07 20:11

I now its still early but I also know you guys are on top of it.

I want to use the HTML5 details element:

What\'s the
6条回答
  •  离开以前
    2020-12-07 20:58

    I'm not sure if this will work, given that my current computer will not run Chrome and I do not have access to the computer I normally use, but try adding this to your css file:

    details > summary:first-of-type {
        list-style-type: none;
    }
    

    Do tell me if it works, I only saw it in a recommendation, not an official spec.

提交回复
热议问题