【发布时间】:2019-09-11 10:36:11
【问题描述】:
我添加了一个引导类,我想删除背景颜色并将不透明度添加到预定义类。 有没有可以轻松完成的功能?
<div class="btn-group ">
<a class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-info-circle"></i>
</a>
<div class="dropdown-menu dropdown-menu-right">
<ul>
<li class="dropdown-item"><a class="btn btn-sm btn-primary" title="Update patient info">Phone-Number</a></li>
<li class="dropdown-item"><a class="btn btn-sm btn-primary"title="Update patient info">Patients Details</a></li>
</ul>
</div>
</div>
Note:
when i inspect phone number it gives me background white color and on disabling it gives the desired result.
now, how can i add that to my internal css so that its remains like that
【问题讨论】:
-
使用 style 属性做内联 CSS。希望这会有所帮助
-
你可以使用 sass 函数并扩展它
标签: css twitter-bootstrap-3 bootstrap-4