scss 按钮引导样式
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了scss 按钮引导样式相关的知识,希望对你有一定的参考价值。
.button{
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 14px;
font-weight: normal;
line-height: 1.42857143;
text-align: center;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
user-select: none;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
&:focus,
&:active:focus,
&.active:focus,
&.focus,
&:active.focus,
&.active.focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
&:hover,
&:focus,
&.focus {
color: #333;
text-decoration: none;
}
&:active,
&.active {
background-image: none;
outline: 0;
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
}
以上是关于scss 按钮引导样式的主要内容,如果未能解决你的问题,请参考以下文章