1. Transparency: Opacity Rgba
<div id= "One" ></div><div id= "one" ></div><style type= "Text/css" > #one {width:100px; Height:100px;background-color:rgb (0,0,0); opacity:0.5;} #two {Width:100px;height:100px;background-color:rgb (0,0,0); Background-color:rgba (0,0,0,0.5);p osition:relative; top:-50px;right:-50px;} </style>
Effect:
2. Color Example
<! DOCTYPE html>:
3. Vertical alignment
Vertical-align:
Available properties include: Baseline sub Super top text-top Middle Bottom text-bottom
4, text indentation: text-index:**px;
5. Projection Text-shadow
<style type= "Text/css" >body {background-color:silver;color:white;padding:20px;font-family:arial,verdana, Sans-serif;} H1{background-color: #ffffff; Background-color:hsla (0,100%,100%,0.5); color: #64645A;p adding:inherit;} p{padding:5px;margin:0px;} P.ten{background-color: #eeeeee; color: #666666; text-shadow:1px 1px 0px #000000;} P.eleven{background-color: #dddddd; color: #666666; text-shadow:1px 1px 3px #666666;} P.twelve{background-color: #cccccc; color: #ffffff; text-shadow:2px 2px 7px #111111;} P.thirteen{background-color: #bbbbbb; color: #cccccc; text-shadow:-1px-2px #666666;} P.fourteen{background-color: #aaaaaa; color: #ffffff; text-shadow:-1px-1px #666666;} </style><body>:
6. Text Practice
:
CSS3 Study Notes