[英]How can I remove white spaces in CSS
您好,我在此鏈接上創建了一個主頁: http : //stephaniie.com/_testlab/beta1/index.html
我很想知道如何消除這些愚蠢的白線。 有人可以幫忙嗎?
編輯:我試圖通過邁克爾使用這種方法。
我將html-div更改為“ quarter.scale-thumb”並添加到CSS中。
.quarter.scale-thumb {
-webkit-transform: scale(0.2);
-moz-transform: scale(0.2);
-o-transform: scale(0.2);
transform: scale(0.2);
}
沒有工作:(
我在minimap.css中使用的代碼是:
.minimap {
z-index:10000;
position:fixed;
cursor:pointer;
font-size: 0em;
display:block;
padding: 0;
margin: 0;
height: auto;
border: none;
}
.miniregion {
z-index : 10001;
position : fixed;
background : transparent;
border: 2px solid silver;
border-radius: 100%;
cursor: pointer;
cursor: -webkit-grab;
cursor: -moz-grab;
display:block;
padding: 0;
margin: 0;
height: auto;
border: none;
}
.miniregion.dragging {
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
display:block;
padding: 0;
margin: 0;
height: auto;
border: none;
}
.miniregion:hover {
box-shadow:0 0 .400em darkgrey;
display:block;
padding: 0;
margin: 0;
height: auto;
border: none;
}
.noselect {
-webkit-touch-callout:none;
-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
padding: 0;
margin: 0;
height: auto;
border: none;
}
CSS
img[usemap] {
border: none;
height: auto;
max-width: 100%;
width: 95%; //change from auto to 95%
}
.back{
background-color : #fffee0; //add background color
}
HTML
<div id="toolbar-options" class="back" >
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.