Lists Flashcards
What are the three list-style properties in CSS?
list-style-position, list-style-image, list-style-type
What does the list-style-position property do?
It controls the position of bullet points relative to the list item’s content.
What are the two values for list-style-position?
inside and outside
What is the default value for list-style-position?
outside
What does the list-style-type property change?
It changes the bullet point style.
What can be used as values for list-style-type?
Known style keywords, custom strings, and emojis.
What is the ::marker pseudo-element used for?
It is used to style the list-item marker (e.g., bullet or number).
Where can you see the list-item marker in the browser?
Using devtools, you can inspect each list item.
What is the marker box in CSS?
It is the container for the list item marker.
How can you style the list-item marker in CSS?
By using the ::marker selector.