How to remove ::marker from details css?

Hello,

by default details element and summary element added ::marker

how to delete ::marker?

here is my code

<details>

                <summary title="What is your name?">What is your name</summary>

                <p class="faq-content">my name is Raj</p>

              </details>

how to delete the triangle before the question?

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like

@Roma
thanks for quick reply
it is not curriculum challenge.
but here is my code

            <summary title="What is your name?">What is your name</summary>

            <p class="faq-content">my name is Raj</p>

          </details>

I’m not sure what you’re trying to do but maybe you can do some research on how the details element works and ask your question.

1 Like

I read it yesterday. I want to delete the triangle which appear next to the question on my code.
thank you
and I am waiting for other opinions and many thanks in advance.

It’s in the docs linked to:

For example, we can remove the disclosure widget icon by setting list-style: none.

MDN version:

1 Like

@lasjorg

thanks so much. I do appreciate it. finally, it is solved by your reply.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.