Draw some boxes and text and let them have style using CSS.
Use generic <div>
tag for block-level element and use generic <span>
tag
for inline-level elements.
Used to style all block-level elements having <div>
tag.
Used to align content/text horizontally and vertically centered.
Used for all elements to occupy the space equally/horizontally side by side.
Used to align child elements horizontally and vertically centered.
Descendant of .outer-box
. Used for the element to have its own style.
Used to style text.
- two boxes side by side
- one, add overflowed multiline text in the box and cut the test overflowed
- the other one, add overflowed multiline text in the box and show vertical scroll bar
- two boxes overlapped
- change color when mouse is moved into the inner most box
- when clicking the inner box
- change color
- show alert message - the following order
- it's outer box
- it's inner box
- it's outer box
- change the text content