<body style= "background-color (background color): Rgba (255,0,0,0) red;
Background-image (background plus picture): url (image address);
Background-repeat (Background repetition): no-repeat;
Background-position (background position): 100px 1080px;
Background-attachment (Background Attach): fixed (stationary);
<p style= "color:red" > Red </p>
<p style= "Test-indent:2em (multiple of the current letter);
Font-family (Font category): serif;
Font-style (italic font): italic (oblique);
Font-variant:small-caps (small capital letters);
Font-weight (font bold): bold;
Font-size (font becomes larger): 2EM;
Font-shadow (Font Shadow): 3px (X-axis extension 3 points) 5px (Y-axis extension 5 points) 5px (range) Rgba (0,255,0,0.5) ">
Line-height Set Line spacing </p>
Font:style Weight Size Height famiy (in order)
List-style-type:squsre (produces a list with a square item)
<table style= "border:1px Solid (solid line) blue;
Border-collapse:collapse (two-line merge) ">
Margin (margin) padding (defines the space between the element content and the border, not using negative values)
Positioning: relative positioning, absolute positioning, floating positioning
<style= "Position (positional properties): relative (offset); left:-20px; bottom:-20px;
Style=position:absolute (absolute); left:-20px;bottom:-20px; " >
</img>
Style Selector
...
<style>
P,TH,TD {border:1px solid blue}
p {background-color:red}
*.important {Color:green} (* represents all important)
*[title]{color:gray}
A:link (color not visited)
a:visited (hyperlink color visited) {color: #000000}
A:hover (mouse pointing up the color)
A:active (Color of mouse click)
</style>
<body>
<a href= "http//news.163.com" > NetEase news </a>
<style>
. Divcss5{text-decoration:underline}/* Underline underline */
. Divcss5_1{text-decoration:line-through}/* Line-through strikethrough Line */
. Divcss5_2{text-decoration:overline}//Overline underlined */
</style>
</body>
Border (border)
Transparent transparent overflow:hidden; (hidden floating) text-indent (text indent) text-align (vertical center)
Letter-spacing (character distance)
Background-image:url (xx.jpg) (Add background image)
Background-repeat: (Background repeat) fixed (fixed)
Background-position: (Displays the desired icon in a large canvas by setting the X and y-axis pixels)
CSS Notes 1