CSS Part code
1<! DOCTYPE html>234<meta charset= "Utf-8"/>5<title></title>6<style type= "Text/css" >7 div{8Width300px;9Height400px;TenMargin100px Auto; Oneposition:relative;/*relative positioning*/ ALeft0px; -Top0px; - the /*Object Selector box-shadow:[projection mode] x-axis offset y-axis offset blur radius shadow radius color*/ -BOX-SHADOW:5PX-1px 20px Dimgray; - } - Div img{ +Width300px; -Height400px; + } ADiv:hover{ atLeft5px; -Top:-10px; -Transition:all 1s;/*transition of the Transition property*/ -opacity:0.8;/*change the transparency of elements such as IMG value at 0-1 0 is completely transparent 1 is opaque*/ - - /*Transform 2D 3D Conversion Scale (x, y) scaling elements y is an optional parameter, you can first fill in a parameter to relax the higher scale scaling*/ inTransform:scale (1.02); - /*deg angle of rotation*/ to /*transform:rotate (100deg);*/ + /*x y axis tilt deg angle*/ - /*Transform:skew (1deg,2deg);*/ the } *</style> $Panax Notoginseng<body> -<div></div> the</body> +Part of CSS style expansion, the number object, BoM, DOM object model of the inter-described, ing ...