Q
引导圆按钮
1
A
回答
4
0
您可以检查与下面的链接。
.round-button {
width:25%;
}
.round-button-circle {
width: 100%;
height:0;
padding-bottom: 100%;
border-radius: 50%;
border:10px solid #cfdcec;
overflow:hidden;
background: #4679BD;
box-shadow: 0 0 3px gray;
}
.round-button-circle:hover {
background:#30588e;
}
.round-button a {
display:block;
float:left;
width:100%;
padding-top:50%;
padding-bottom:50%;
line-height:1em;
margin-top:-0.5em;
text-align:center;
color:#e2eaf3;
font-family:Verdana;
font-size:1.2em;
font-weight:bold;
text-decoration:none;
}
0
尝试:<button type="button" class="btn btn-circle btn-default">4</button>
+0
不能这样工作,我已经在问题的下面的评论中得到了答案,即通过将边框半径更改为50%。 – Saani
+2
,使得标准的引导按钮不圆圈键 –
相关问题
- 1. 引导按钮
- 2. 引导按钮
- 3. 引导按钮
- 4. React引导按钮
- 5. UIImage按钮(圆形按钮)
- 6. 为什么我的引导程序按钮没有变圆
- 7. 圆形按钮
- 8. 圆形按钮
- 9. 圆形按钮
- 10. twitter引导按钮单击
- 11. 引导按钮,验证
- 12. 按钮对齐引导
- 13. Twitter引导按钮转换
- 14. 引导按钮状态
- 15. UJS +引导加载按钮
- 16. 使用引导按钮
- 17. 引导/下拉按钮
- 18. 引导按钮onclick事件
- 19. 引导按钮加载ajax
- 20. 过滤器引导按钮
- 21. 引导Glyphicons更改按钮
- 22. 引导按钮大小
- 23. 引导组按钮表格
- 24. Django引导按钮部件
- 25. 角2:引导按钮
- 26. 分离引导按钮
- 27. 引导按钮下拉
- 28. 链接引导按钮
- 29. 引导按钮超链接
- 30. 引导3按钮组
只需添加'边境radius'至'50%' –
你有没有包含CSS?我不确定这是否是标准的,可能是错误的,尽管我知道 –
。 – Saani