css - 输入组中缺少 Bootstrap 3 边框半径
问题描述
使用 Bootstrap 3.4 为什么输入组缺少所有边界半径?
<form action="{{ route('dashboard.users.index') }}" method="get">
<div class="input-group">
<input type="text" name="search" class="form-control">
<span class="input-group-btn">
<button class="btn btn-default" type="submit">
<i class="fa fa-search"></i>
</button>
</span>
</div>
</form>
检查元素:
.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child>.btn, .input-group-btn:first-child>.btn-group>.btn, .input-group-btn:first-child>.dropdown-toggle, .input-group-btn:last-child>.btn-group:not(:last-child)>.btn, .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
我应该用自己的css修复它吗?
解决方案
我正在使用 bootstrap rtl,我不小心把它放在原来的 bootstrap.min.css 之前 .. 当订单改变时 .. 问题已解决 .. 谢谢你的帮助
推荐阅读
- javascript - 在已发布的 Web 组件中获取文件的路径
- r - 用 summarise_all 折叠字符串
- java - SOAP12 缺少肥皂动作-弹簧
- react-native - 我如何只渲染我的组件的一部分?
- java - 错误“RecyclerView:未连接适配器;跳过布局”
- ios - 如何实现 TextField 搜索结果以过滤 tableview 值 Swift
- cmake - 使用 CMake 构建使用 Emscripten 将 libtorch 编译为 WebAssembly
- php - 在 WooCommerce 中根据用户类型启用不同的产品变体价格
- spring - 用于在 Linux 上运行 postgres docker 映像失败的 Bash 脚本
- sed - 使用带减号的 sed