-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.txt
21 lines (21 loc) · 2.34 KB
/
input.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
The [visibility] property specifies whether or not an element is VISIBLE. Tip: Hidden elements take up space on the page.
visibility: [hidden] ; also hides an element on the page. The element will still take up the same space as before.
An element with position: [absolute] ; is positioned relative to the elements container if that container is not static.
An element with position: [sticky] ; is positioned based on the user's scroll position.
The [position] property specifies the type of positioning method used for an element (static, relative, fixed, absolute or sticky).
HTML elements are positioned [static] by default.
[Static] positioned elements are not affected by the top, bottom, left, and right properties.
An element with position: [relative] ; is positioned relative to its normal position.
An element with position: [fixed] ; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled. The top, right, bottom, and left properties are used to position the element.
The [column-width] property specifies the column width.
The [column-count] property specifies the number of columns an element should be divided into.
The [columns] property is a shorthand property for two other basic column properties.
The CSS [overflow] property controls what happens to content that is too big to fit into an area.
The overflow property has the following value: [visible] - Default. The overflow is not clipped. The content renders outside the element's box.
The overflow property has the following value: [hidden] - The overflow is clipped, and the rest of the content will be invisible. (This is how a lot of websites prevent you from using an adblocker, or require you to sign up.)
The overflow property has the following value: [scroll] - The overflow is clipped, and a scrollbar is added to see the rest of the content
The overflow property has the following value: [auto] - Similar to scroll, but it adds scrollbars only when necessary
The [overflow-x] property changes the overflow of content horizontally.
The [overflow-y] property changes the overflow of content vertically.
The [z-index] property specifies the stack order of an element. An element with greater stack order is always in front of an element with a lower stack order.
The [!important] rule in CSS is used to add more importance to a property/value than normal.