【CSS】

background

background-attachment: scroll | fixed | local | initial | inherit; or whether the background image is fixed with the rest of the page scroll.
background-color set the background color element.
background-image: url () is set to the background image.
background-position: set the start position of the background image.
background-repeat: whether and how to set the background image is repeated.
background-size background image size is provided.

text

color Set the text color
Setting text orientation direction.
letter-spacing is provided (between the letters and the letters in a word) character spacing
line-height setting line high
text-align align text element
text-decoration: overline | line-througe | underline | blink modified to add text
text-indent: 20px indent the first line of this element of Chinese
text-shadow set text shadows
text-transform: capitalize the first letter capitalized | uppercase uppercase | lowercase letters lowercase control element
vertical-align vertically aligned element disposed
white-space setting element blank handling
word-spacing set character spacing (between words)

Fonts

font set all the font properties in one declaration
font-family specified text font family
font-size specifies the font size of text
font-style: normal | italic italic | oblique tilt of the specified text font style
font-variant: small-caps to display text in small caps font or a normal font.
font-weight specifies the font weight.

link

A : Link { Color: # 000000 ; } / * unvisited links * /

A : visited { Color: # 00FF00 ; } / * visited links * /

A : hover { Color: # FF00FF ; } / * move the mouse over the link * /

A : Active { Color: # 0000FF ; } / * mouse click * /

List

ul li unordered list

ol li ordered list

 

list-style-image:url('sqpurple.gif');

style-position-List: Inside placed within the text | outside outside the default, the text ;

list-style-type: disc default solid round | cicle hollow circle | square filled squares | decimal numbers |

Other styles see https://www.runoob.com/cssref/pr-list-style-type.html

frame

border:5px solid red;

 

border-style: solid solid line | dotted dotted | Dashed dotted line | double | groove trenches border | Ridge ridge border | embedded in the inset from the border | outside projecting border

profile

Plotted in a line around the element, located in a peripheral edge of the frame, projecting elements may function.

outline:2px solid red;

Guess you like

Origin www.cnblogs.com/Mijiujs/p/12133484.html
css