答案 0 :(得分:1)
这可以是span
或i
,background
的现有css ...如果您在span中使用glyphicon
,请尝试以下
span.glyphicon{
background: transparent;
}
答案 1 :(得分:1)
table {
width: 100%;
}
tbody {
background: yellow;
}
span {
background: blue;
}
span.glyphicon {
background: transparent;
}

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<table>
<tbody>
<tr>
<td>Hello</td>
<td><span class="glyphicon glyphicon-plus-sign"></span></td>
</tr>
<tr>
<td>Hello</td>
<td><span class="glyphicon glyphicon-plus-sign"></span></td>
</tr>
</tbody>
</table>
&#13;