CSS in action 2

1. Mouse style

Cursor: pointer    mouse becomes a small hand  

Cursor: default;    Xiaobai

Cursor : move;    move  

Cursor : text ;     text input

Page layout:

 Give a box  :  width height   background border    position

2.border-radius

  Rounded Rectangle

border-radius: 7px 7px 7px 0;

border-radius: top left, top right, bottom right, bottom left; (clockwise)

 

3. Tag Nesting 

  1. Block-level elements   -   any element is OK.     

  2. Inline elements   --     inline elements only nested elements     b u span i - s

  3. P can't put div .    

  4. a is omnipotent.    A can't put a input in a , etc.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324970711&siteId=291194637