Learn css framework

css relearn

1.css grammar own Baidu nothing to say.

2.css selector

(1) Class Selector: class usage is, .h1 {color: red}

(2) id Selector: id usage is, # h1 {height: 300px}

(3) compliance with the selector: Usage is .h1 img {height: 400px; width: 300px}

3.css style:

Background, text, font, links, lists, tables,

Background: background-color

Text: There are not commonly used not write

text-indent: 1cm; text-indent 1cm

text-align :left,right,center;

Font: font-size

Guess you like

Origin www.cnblogs.com/qijiang123/p/12153958.html