請問這里設置height:100%,width:100%是相對什么而言的,不太理解
.content-wrap > li {
? ? ? ? width: 100%;
? ? ? ? height: 100%;
? ? ? ? background: #CAE1FF;
? ? ? ? color: red;
? ? ? ? float: left;
? ? ? ? overflow: hidden;
? ? ? ? position: relative;
? ? }
.content-wrap > li {
? ? ? ? width: 100%;
? ? ? ? height: 100%;
? ? ? ? background: #CAE1FF;
? ? ? ? color: red;
? ? ? ? float: left;
? ? ? ? overflow: hidden;
? ? ? ? position: relative;
? ? }
2017-03-16
舉報
2017-08-27
我也不理解width: 100%; height: 100%;這兩個設置時干嘛用得,求大神解釋
2017-03-17
就是相對父元素 .content-wrap阿