css的使用(1)
阿新 • • 發佈:2018-04-03
.com one avg order solid log AC pre post
*{ margin: 0 auto; padding: 0; } #navgite{ width: 906px; height: 100px; border: 3px solid gray; } #navgite li{ float: left; margin-left: 50px; border-right: 1px solid darkgray; } ul{ list-style: none; margin-top: 40px; } a:link{ color: blueviolet; text-decoration: none; } a:hover{ color: orangered; } a:active{ color: blue; } a:visited{ color: red; } #one{ background-color: red; width: 300px; hegight: 300px; } #one:hover{ background-color:darkblue; cursor: pointer; /*鼠標變小手*/ }
css的使用(1)