CSS3 教程
CSS 用于控制网页的样式和布局。
CSS3 是最新的 CSS 标准。
本教程向您讲解 CSS3 中的新特性。






CSS3
实例
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>html(html.cn)</title> <style> div { width:100px; height:75px; background-color:red; border:1px solid black; } div#div2 { transform:rotate(40deg); -ms-transform:rotate(40deg); /* IE 9 */ -webkit-transform:rotate(40deg); /* Safari and Chrome */ } </style> </head> <body> <div>你好。这是一个 DIV 元素。</div> <div id="div2">你好。这是一个 DIV 元素。</div> </body> </html>
运行实例 »
点击 "运行实例" 按钮查看在线实例