总效果:
html:
响应式CSS:
/* 网站头部 */
header {
width: 100%;
}
header .top {
line-height: 3rem;
padding: 0 1.5rem;
color: #fff;
background: #555;
border-bottom: 1px #ecc000 solid;
}
header .top .tel {
float: left;
}
header .top ul {
text-align: right;
}
header .top ul li {