Css + div common property memos and css div memos
I have been studying software design in college for more than a year and will graduate in next May. Looking back, I found myself really bad. It's not because I feel so bad in a group of people who don't study. Actually, it is a waste :)
I recently started my blog, so I sorted out my notes. Here I published some of the attributes that I used to learn css, which are very basic, light spray. It is suitable for beginners to read more.
Only a little bit of work: 2333
Float block-floating
Text-decoration font Effect
Letter-spacing letter Interval
Line-height Row height
Text-align block-text alignment
Clear both clear floating
Position positioning absolute positioning relative location of relative
Ol order
Ul not required
List-style none does not display the project symbol
The box model div is very important (nonsense), so the following are very important.
Top right bottom left represents the top right and bottom left of the position, respectively. This strange order is due to a strange css setting. All the settings without a specified direction are in this order,
Margin
For example, border-width: 10px 5px 1px 20px indicates that the top border is 10 pixels, the right border is 5 pixels, the bottom border is 1px, and the left border is 20px.
Padding
Internal content height and width height width the internal content height and width
At present, with the continuous learning, there will certainly be more and more: p I will come back to add ~