最贊回答 / 小黑點(diǎn)mc
index.html<!DOCTYPE html><html><head>? ?<meta charset="UTF-8">? ?<link rel="stylesheet" href="css/common.css" >? ?<link rel="stylesheet" href="css/reset.css" >? ?<link rel="stylesheet" href="css/index.css" >? ?<...
2017-09-16
已采納回答 / 超級(jí)小悟空
方法1:給ul設(shè)置寬度為1160px,ul的容器設(shè)置寬度1100px及overflow: hidden即可;方法2:利用偽類(或單獨(dú)為最后一個(gè)li元素設(shè)置類),設(shè)置其margin-right:0。
2017-09-14
<a href="" class="menu-more-btn">load more<span>|</span> <span class="icon></span></a>一部分完成在放圖片 切圖
.index-menu .menu-more-btn{
margin: 0 auto;
width:114px;
height:32px;
padding-left:16px;
border:1px solid #000000;
font-size:14px;
line-height:32px;
color: #000000;
.index-menu .menu-more-btn{
margin: 0 auto;
width:114px;
height:32px;
padding-left:16px;
border:1px solid #000000;
font-size:14px;
line-height:32px;
color: #000000;
最贊回答 / 兼容并包
我看了這段問題 ,都是這個(gè)問題 ,今天我給大家解答一下這個(gè)問題 。很簡(jiǎn)單<link rel="stylesheet" type="text/css" href="css/reset.css"><link rel="stylesheet" type="text/css" href="css/common.css"><link rel="stylesheet" type="text/css" href="css/index.css">把這3個(gè)位置調(diào)成我發(fā)的這樣即可。 不要問...
2017-09-06