【问题标题】:My bootstrap buttons are not showing the gradient or border and all gray我的引导按钮没有显示渐变或边框并且全是灰色的
【发布时间】:2013-10-04 15:07:17
【问题描述】:

我是使用 bootstrap 3 的新手,但我注意到我的按钮渲染存在问题,它们显示如下:

我希望他们像这样显示,我在所有页面中找到的样式(这是一个按钮组,但我在谈论背景颜色和样式)地雷都是灰色的......

我按此顺序添加了这个 css,已经更改了它们但没有区别:

 ../font-awesome/css/font-awesome.min.css
 ../bootstrap/css/bootstrap.min.css

我的按钮代码是:

<button class="btn btn-mini" type="submit" name="ver_rol" value=<?php echo $rol['rol_id']; ?>><i class="icon-search"></i></button>
<button class="btn btn-mini" type="submit" name="editar_rol" value=<?php echo $rol['rol_id']; ?>><i class="icon-edit"></i></button>
<button class="btn btn-mini" type="submit" name="eliminar_rol" value=<?php echo $rol['rol_id']; ?>><i class="icon-remove"></i></button>

请帮忙=(

【问题讨论】:

标签: html css twitter-bootstrap button twitter-bootstrap-3


【解决方案1】:

Bootstrap 3 按钮现在是“扁平”的,但您可以使用此主题来获得 Bootstrap 2.x 的外观:http://getbootstrap.com/examples/theme/

示例:http://bootply.com/85619

另外,btn-mini 现在在 Bootstrap 3 中是 btn-xs

【讨论】:

    猜你喜欢
    • 2015-05-10
    • 1970-01-01
    • 2018-12-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-11-18
    • 1970-01-01
    • 2021-11-22
    相关资源
    最近更新 更多