Css + div common property memos and css div memos

Source: Internet
Author: User

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 ~

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.