Millet experience two

 

1, when a child element of its parent element will also hold up to hold up to the first solution becomes margin-top

The parent element padding-top

The second solution is: the parent element plus border

2, overflow: the relationship between the various properties

    The default value of the content will not be visible changes will be presented outside the box elements

    hidden content will be built, and the rest is not visible

    scroll content will be trimmed but the browser will display scroll bars for the rest of the contents of a single check

   If the content is auto trim the browser displays scroll bars so that answered the rest of the content

   inherit provisions should be integrated overflow property value from the parent element

 

 

 

 

3, white-space is used to modify the properties of the space element

    normal default blank will be ignored by the browser

pre blanks are reserved browser that behaves similar pre tag in HTML

nowrap text does not wrap text will continue to encounter br tag up on the same line

pre-wrap blank character sequence but normal line feed

The combined pre-line blank newline character sequence but the table

should inherit a predetermined integrated value of the white-space attributes from the parent element

4, the text used to be described is text-decoration

The status of their representatives

 text-decoration: none default definition standard text

 Under the definition of a line of text underline

Definition of a text line on the overline

line-through line is defined through the text

blink-defined blinking text

should inherit a predetermined integrated text-decoration property value from the parent element

 

Guess you like

Origin www.cnblogs.com/soyadios/p/12013430.html