The Float Property Flashcards

1
Q

What is the primary use case for floats?

A

Getting text to wrap around an image (or some other container).

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

What do floats do?

A

Specifies how an image should float and takes content out of normal flow.

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

What happens when you have more than one floated element?

A

The elements will continue to horizontally stack next to one another, as long as there is space in the parent container.

If there is not enough space, they will go to the next line.

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

What does the clear property do?

A

The clear property specifies on which sides of an element floating elements are not allowed to float.

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