css other content

The default setting
List-style none;
margin: 0;
padding: 0;

1. Format all tags
to label pitch is reset to 0
body P h1 of H2 H3 H4 H5 H6 UL DL form dt INPUT {
margin: 0;
padding: 0;
}
UL {
List-style: none;
}
A {
TEXT- Decoration: none;
}
EM {
font-style: Normal;
}
IMG {
border: 0px;
}

 

style mouse cursor

Properties
1. pointer hands
2. text text style
3. move the mobile cross pattern
4. default default style small arrow

outline contour
that box input box is in the form contour
outline: none; Cancel contour

resize: none text box to prevent dragging

vertical-align vertically aligned

for inline elements block elements and inline
block element row itself is not high

vertical-align: center vertical center
top top alignment
baseline to baseline wire
bottom aligned with the bottom

vertical-align property default baseline image
pictures and aligned with the baseline image will have several bottom blank

inline element line can cause high blank
has two processing method
1. the vertical-align the alignment property .... bottom
2. the picture into blocks

white-space setting and retrieving text display

attributes
white-space: nowrap: beyond the line of the element to force all the text
overflow: hidden exceeded Hide will display half ...
text-overflow: ellipsis elipsis excess appears

to do this effect should write three
1. Force a line all the text
2. exceeded hide
3. excess ellipsis

Sprite
order to reduce the pressure on the server to reduce the number of requests
to make lots of pictures just need to request the use of a large map it once
to do the background when using the product not so with

positioning backgroud-position

The disadvantage is very hard to change once

Sliding
a span inside the package

 

Guess you like

Origin www.cnblogs.com/fuyi2345/p/11391752.html