Example: Clear
In this example, the third block of text has the clear value right
and the picture of the flowers has the clear value left
.
Try resizing the window to see how the elements are placed when there are differents amount of horizontal space available, and try changing some of the values to see how the positions change.
Images: (right) Ivor Traber
Note:
Hints:
- undefined
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
<!DOCTYPE html>
<html lang="en">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
p {
margin: 1rem;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX