text-decoration:none
}
#header {
background: #000;
height: 68px;
border: 1px solid #eee;
margin: 0;
}
网页设计html代码大全怎么改颜#header h1 {
float: left;
text-indent:18px;
color:#eee;
margin-top:10px;
}
#header h3 {
clear:both;
text-align:right
}
#header h3 a {
margin-right:10em;
color:#CCC;
font-weight: normal;
}
.page-header {
padding: 0 0 8px;
margin: 18px 0;
border-bottom: 1px solid #ddd;
}
.page-header h2 {
padding: 0;
margin: 0;
font-size: 24px;
line-height: 27px;
letter-spacing: 0; text-indent:2em;
}
.btn, .btn:visited {
display: inline-block;
padding: 4px 10px;
font:bold 12px/180% Tahoma;
color: #fff;
text-decoration: none;
overflow:hidden;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-
webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25); border-bottom: 1px solid rgba(0, 0, 0, 0.25); cursor: pointer;
}
.btn:hover {
background-color: #111;
}
.btn:active {
top: 1px;
}
.green.btn, .green.btn:visited {
background-color: #91bd09;
}
.green:hover {
background-color: #749a02;
}
.blue, .blue:visited {
background-color: #2daebf;
}
.blue:hover {
background-color: #007d9a;
}
.red, .red:visited {
background-color: #e33100;
}
.red:hover {
background-color: #872300;
}
.magenta, .magenta:visited {
background-color: #a9014b;
}
.magenta:hover {
background-color: #630030;
}
.
orange, .orange:visited {
background-color: #ff5c00;
}
.orange:hover {
background-color: #d45500;
}
.yellow, .yellow:visited {
background-color: #ffb515;
}
.yellow:hover {
background-color: #fc9200;
}
希望本⽂所述对⼤家的CSS⽹页设计有所帮助。
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论