Logical properties Flashcards

1
Q

What are physical properties in CSS?

A

Properties that define dimensions relative to the viewport, such as top, right, bottom, and left.

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

What do logical properties refer to in CSS?

A

Properties that define layout based on the content flow and box edges.

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

What determines the block flow direction in a document?

A

The writing mode; typically, it is top-to-bottom.

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

What determines the inline flow direction?

A

The document’s writing mode, such as left-to-right or right-to-left.

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

What is the advantage of using flow-relative properties?

A

They adapt to different writing modes without requiring layout adjustments.

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

Why use logical properties instead of physical properties?

A

They make layouts more adaptable to different languages and writing modes.

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