Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
256 views
in Technique[技术] by (71.8m points)

css - Question about tracking down the use of ::marker

It is my understanding that any CSS selector with ::name is a pseudo-class and needs to be used as part of a tag selector, ex. li::marker. I have recently run into some code that has ::marker outside the tag.

Here is how it shows in Page View

<li id="menu-item-435" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-435"><a href="https://URL/">Latest Post</a></li>

Here is how it shows in the Firefox Inspector

<li id="menu-item-435" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-435">::marker<a href="https://URL/">Latest Post</a></li>

What is the difference?

question from:https://stackoverflow.com/questions/65912835/question-about-tracking-down-the-use-of-marker

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...