CSS layout properties

CSS Box


CSS properties very regular and closely linked, according to the above histogram memory is a good method of
padding (the pitch) -> border (border) -> margin (margins), height (H) and width (W) . At the same time, there is a box background (background) and so on.
The outer margins azimuth have margin-top, margin-left four directions, padding empathy. Frame can be divided border type, thickness and color, and therefore may comprise a border-width, border-color, and border-style. And there are some of the attributes of these four sub-attributes: border-width can be divided into border-top-width, border- left-width, border-bottom-width and other attributes.
The detailed properties of CSS here is not to say

specifically refer to W3C Manual:

Guess you like

Origin www.cnblogs.com/kangna/p/11908086.html