-1
我设计了一些像这样的按钮: 如何更改按钮中的背景颜色大小?
但我无法改变的背景颜色大小:#428bca如我在CSS设计。有什么办法可以改变CSS背景颜色的大小,而不使用背景图片?
请在这里看到的简单的例子:
<button class="btn-modify">
Primary
</button>
.btn-modify {
width: 286px;
padding: 10px;
background-color: #428bca;
}
https://jsfiddle.net/zichenma/f8hjm0Lc/
非常感谢你提前!
请提供您已使用 – haxxxton
代码我投票结束这个问题作为题外话,因为提供的标记不符合图像或陈述的问题。 – Rob