CSS is what? White front-end entry-level understanding

What is CSS?

  • CSS stands for Cascading Style Sheets
  • CSS describes how HTML elements are to be displayed on screen, paper, or in other media
  • CSS saves a lot of work. It can control the layout of multiple web pages all at once
  • External stylesheets are stored in CSS files

Simply put CSS determines how your data to the display, your CSS is your dress with.
If the personality is very important to you, then you can only wear your own clothes design.
If you are not yet designed the clothes, then you can go to ask the people around them is how the match. They bought the same paragraph clothes (copy their CSS), wear on his (data) body.
Or you make some changes on the basis of their style. Even more than personal reference style, mixed them together.

Digress. .

So how to use CSS to define your data showing the effect of it?

As you can tell how his own with anyone else.
You generally will first describe the basic tone of the various parts of their body, such as what style head, neck how how how upper body, lower body / shoes and so on. .
These large portion equivalent to the HTML tags, head, div, p, and so on and so forth. Format is defined as follows:
P {
background: # 012345;
margin: 2px;
}

For the definition of the details, but also can be categorized, you belong to this head is round or flat head, you belong to this body is fat or thin. This can be such things categorized:
.big-FAT {
Color: # 012345;
}

There are some really special place, it can not be categorized. Then you can assign it a unique ID, thereby tailor:
# Special-the above mentioned id {
Color: # 543210;
}

Other rules and explore on their own understanding of it. In short, CSS, such as color value, such as data soul / body.

https://www.ibm.com/developerworks/cn/web/wa-getstartedcss/index.html

Guess you like

Origin www.cnblogs.com/hangj/p/11443083.html