<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>css基本</title>
<style>
body {
background-color: #EEEEEE;
color: #000000;
margin: 0;
padding: 0;
text-align: left;
font-size: 100%;
font-family: Univers, sans-serif;
}
#info {
border: 1px solid #000000;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 8px 8px 6px #AAAAAA;
-moz-box-shadow: 8px 8px 6px #AAAAAA;
box-shadow: 8px 8px 6px #AAAAAA;
}
ol li {
list-style-type: lower-roman;
text-shadow: 2px 2px 2px #AA00FF;
}
ul li {
text-align: center;
list-style-type: none;
width: 50px;
padding: 10px;
margin: 10px;
background-color: #EEEEEE;
border: 1px solid #000000;
font-weight: bold;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-moz-transform: rotate(-20deg);
-webkit-transform: rotate(-20deg);
transform: rotate(-20deg);
}
ul li:hover {
text-decoration: underline;
background-color: #FFFFAA;
}
div.equal-column {
width: 45%;
height: 100%;
}
div#left {
float: left;
background-color: red;
}
div#right {
float: right;
background-color: blue;
}
div.something-below {
width: 100%;
clear: both;
background-color: yellow;
}
</style>
<script type="text/javascript">
</script>
</head>
<body>
<div id="info">div块</div>
<ol>
<li>有序列表1
<li>有序列表2
<li>有序列表3
</ol>
<ul id="nav">
<li>无序列表A
<li>无序列表B
<li>无序列表C
</ul>
<div id="left" class="equal-column">left</div>
<div id="right" class="equal-column">right</div>
<div class="something-below">clear</div>
</body>
</html>