當我使用語義用戶界面按鈕,按鈕之間有餘量。但是,當我複製到我的網站,保證金失去。這個邊緣如何來
我加入這個jsfiddle
的.ui.button
CSS給出如下..它margin: 0em;
.ui.button {
cursor: pointer;
display: inline-block;
vertical-align: middle;
min-height: 1em;
outline: none;
border: none;
background-color: #EBEBEB;
color: #808080;
margin: 0em;
padding: 0.8em 1.5em;
font-size: 1rem;
text-transform: uppercase;
line-height: 1;
font-weight: bold;
font-style: normal;
text-align: center;
text-decoration: none;
-webkit-border-radius: 0.2em;
-moz-border-radius: 0.2em;
border-radius: 0.2em;
-webkit-box-shadow: 0em -0.2rem 0em rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow: 0em -0.2rem 0em rgba(0, 0, 0, 0.1) inset;
box-shadow: 0em -0.2rem 0em rgba(0, 0, 0, 0.1) inset;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
-moz-transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
-o-transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
-ms-transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
但在我的網站是沒有邊際。我想semantic-ui
創建保證金?
現在我明白了..這不是一個邊緣..和它的'空間'..謝謝你的答案:) – rab