Lists Flashcards

1
Q

What are the three list-style properties in CSS?

A

list-style-position, list-style-image, list-style-type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the list-style-position property do?

A

It controls the position of bullet points relative to the list item’s content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two values for list-style-position?

A

inside and outside

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the default value for list-style-position?

A

outside

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the list-style-type property change?

A

It changes the bullet point style.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What can be used as values for list-style-type?

A

Known style keywords, custom strings, and emojis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the ::marker pseudo-element used for?

A

It is used to style the list-item marker (e.g., bullet or number).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Where can you see the list-item marker in the browser?

A

Using devtools, you can inspect each list item.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the marker box in CSS?

A

It is the container for the list item marker.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can you style the list-item marker in CSS?

A

By using the ::marker selector.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly