css weight problem
! important> inline style *> ID> class | attribute> tag selector> wildcard
The selector compares the order from right to left
Box model
boder padding margin content(width +height)
They have upper and lower portions of the left and right top left right bottom
transparent transparent color
Vertical center line of text is to make the height of the same height and line-height
text-indent the first line indent for general use em display
text-decoration: line-through underlined
text-decoration: underline Underline
text-decoration: none underlined canceled
img middle mode process space
Enterprise development component-based development options after the style can define function
Sequentially padding the left lower right padding (0,0,0,0)
Father with child Jedi principles
Only absolute positioning is positioning will have no parent parent positioned according to the document will be based on his positioning are targeted to have a parent locate the nearest location
The positioning relative to the original position
Centered wording
The width of the high negative 2
Pseudo-element-level elements inherently fast inline-block to be modified by
Clear float
Implementation network data can still slow to load
Another method
Adaptive Method
font-size font is high