效果图
HTML
Document
老版网站入口
清华大学-汽车工程系发动机燃烧
Date: 14-3-1
所属行业:学校案例
爱情海
Date: 14-3-1
所属行业:房地产业
方圆集团
Date: 14-3-1
所属行业:集团案例
沃兰珠宝
Date: 14-3-1
所属类型:电子商务
CSS
body,p{
margin: 0;
}
*{
font-family: '微软雅黑';
}
a{
text-decoration: none;
}
ul{
margin: 0;
padding: 0;
list-style: none;
}
header{
width: 980px;
height: 90px;
margin: auto;
}
.logo{
float: left;
margin: 18px 18px 0 0;
}
.old{
color:#666666 ;
font-size: 12px;
float: left;
margin-top: 60px;
}
.nav{
float: right;
margin-top: 20px;
}
.nav a{
float: left;
width: 90px;
display:block ;
text-align: center;
height: 70px;
color: #444444;
}
.nav a p{
font-family: '微软雅黑';
font-size: 14px;
margin-top: 22px;
/*color: inherit; 颜色继承*/
}
.nav a span{
color: #ccc;
font-size: 10px;
}
.nav .nav_1{ /*.nav_1必须带父级,否则优先级.nav a{winth:90px}*/
width: 58px;
background-color: brown;
}
.nav .nav_1 p{
color: white;
}
.nav a:hover{ /*hover 鼠标悬停时 active 鼠标按下时*/
background-color: brown;
color: white;
}
.banner{
width: 980px;
height: 457px;
margin: auto;
position: relative;
}
.pic{
position: absolute;
left:50% ;
margin-left: -662px;
}
.position_box{
position: absolute;
left: 38%;
bottom: 20px;
}
.position_box span{
display: block;
width: 10px;
height: 15px;
background-image: url(../images/arrow.png);
float: left;
}
.position_box .arrow_right{
background-position: -10px 0;
margin-left: 56px;
}
.position_box a{
display: block;
width: 15px;
height: 15px;
background-color: #cc0000;
float: left;
margin-right: 10px;
}
.position_box .arrow_left{
margin-right: 66px;
}
.position_box .current{
background-color: white;
}
.service{
width: 980px;
margin: 26px auto ;
overflow: hidden;
}
.service a{
float: left;
margin-right: 10px;
}
.service .yyxt{
margin-right: 0;
}
.zixun{
width: 102px;
height: 111px;
background-image:url(../images/zixun.png);
position: fixed;
right: 20px;
top: 77%;
}
.case{
width: 980px;
margin: auto;
}
.title_box{
border-bottom: 1px solid #999 ;
overflow: hidden;
}
.title{
float: left;
}
.title h2{
font-size: 22px;
color: #333333;
margin: 0;
margin-bottom: 10px;
}
.title span{
color: #777777;
font-size: 12px;
}
.btn{
float: right;
margin-top: 30px;
margin-bottom: 10px;
}
.btn a{
width: 18px;
height: 19px;
background-image: url(../images/more.png);
display: block;
float: left;
}
.btn .btn_right{
background-position: -18px 0;
}
.intro{
margin-top: 40px;
overflow: hidden;
}
.product{
float: left;
margin-right: 48px;
}
.detall{
width: 208px;
background-color: #f1f0ee;
}
.detall div{
font-size: 12px;
color: #333333;
margin: 0 0 10px 5px;
padding-top: 10px;
}
.detall span{
font-size: 12px;
color: #666666;
display: block;
margin-left: 5px;
margin-top: 5px;
}
.detall .span2{
padding-bottom: 20px;
}
.product4{
margin-right: 0;
}
.about_bg{
background-color: #f1f0ee;
margin-top: 45px;
padding-top: 15px;
padding-bottom: 20px;
}
.about{
width: 980px;
overflow: hidden;
margin: auto;
}
.news{
float: left;
}
.news_title a{
width: 71px;
height: 22px;
display: block;
float: left;
font-size: 12px;
text-align: center;
line-height: 22px;
color: #444444;
}
.news_title a:nth-child(1){
background-image: url(../images/news_bg.png);
color: white;
}
.news_title{
overflow: hidden;
}
.news_box{
margin-top: 20px;
overflow: hidden;
}
.number{
float: left;
width: 62px;
height: 62px;
border-right: dashed #ccc 1px;
}
.number i:nth-child(1){
font-size: 40px;
color: #777;
display: block;
margin-top: -5px;
}
.number i:nth-child(2){
font-size: 18px;
color: #999;
display: block;
margin-top: -15px;
}
.outline{
float: right;
width: 520px;
margin-left: 10px;
}
.outline h2{
margin: 0;
float: left;
font-size: 14px;
color: #444444;
font-weight: normal;
margin-bottom: 10px;
}
.outline span{
float: right;
font-size: 12px;
color: #999;
}
.outline p{
font-size: 12px;
color: #666;
clear: both;
width: 428px;
}
.contact{
float: right;
width: 310px;
}
.tel_box{
float: left;
margin-bottom: 20px;
}
.tel_box span{
font-size: 14px;
color: #444;
}
.tel_box h1{
color: #cc0000;
font-size: 22px;
margin: 0;
margin-bottom: 10px;
}
.tel_box a{
display: block;
height: 16px;
float: left;
font-size: 12px;
color: #666;
padding-left: 18px;
}
.tel_box .a1{
background-image: url(../images/icon1.png);
background-repeat: no-repeat;
margin-right: 10px;
}
.tel_box .a2{
background-image: url(../images/icon2.png);
background-repeat: no-repeat;
}
.contact img{
float: right;
}
.user{
clear: both;
}
.user span{
font-size: 14px;
color: #444;
display: block;
margin-bottom: 10px;
}
.user input{
padding: 0;
width: 120px;
height: 28px;
border: #999999 1px solid;
}
.user button{
width: 52px;
height: 24px;
background-color: #cc0000;
color: white;
border: none;
margin-top: 10px;
margin-right: 6px;
}
.user a{
font-size: 12px;
color: #999999;
}
footer{
background-image: url(../images/footet-bg.png);
overflow: hidden;
padding-top: 20px;
}
.footer_center{
width: 980px;
margin: auto;
}
.footer_nav{
float: left;
}
.footer_logo{
float: right;
}
.footer_nav ul{
overflow: hidden;
}
.footer_nav ul li{
float: left;
}
.footer_nav ul li a{
color: white;
font-size: 14px;
float: left;
}
.footer_nav ul li span{
font-size: 12px;
color: #999;
margin: 0 6px;
float: left;
}
.footer_nav p{
margin: 0;
font-size: 12px;
color: white;
margin: 6px 0;
}
.footer_nav b{
font-weight: normal;
font-size: 12px;
color: white;
}
.link span:nth-child(1){
color: white;
font-size: 12px;
padding-left: 15px;
background-image: url(../images/lianjie.png);
background-repeat: no-repeat;
}
.link span:nth-child(2){
font-size: 12px;
color: #999;
}
link{
margin: 5px 0;
}
.links a{
font-size: 12px;
color: #999;
float: left;
margin-right: 20px;
}
.links{
margin-bottom: 30px;
}