CSS Learning (18th)-scroll bars, drag elements, and outlines
I. theory:
1. overflow-x/overflow-y
A. Default Value of visible. No scroll bar is added.
B. Add a scroll bar in auto
C. When the hidden content overflows the container, all content will be hidden and no scroll bar will be displayed.
D. scroll displays the scroll bar no matter whether overflow exists.
E. no-display: no elements are displayed when the content overflows the container.
F. no-content the content is not displayed when the content overflows the container
2. resize
A. none users cannot drag elements to modify the size.
B. both users can drag an element and modify the width and height of the element at the same time.
C. horizontal users can drag elements, but they can only change the width.
D. vertical users can drag elements, but only change the height.
E. inherit inherits the resize attribute value of the parent element.
3. outline
A. outline color, style, width, and Offset Value
4. Comparison of outline and border lines
A. border is part of the box model. The outline line does not damage the webpage layout.
B. The external contour lines created by outline are the same on each side of the element.
C. The element created by border can be set on one side. The outer contour line created by outline is closed.
D. border can only set the border of an element and can only expand outward. outline can create closed outlines for the element.
Ii. Practice:
1.
Get up to eight dishes. 2.