我的密码
<div id="open-toolkit">
<span class="glyphicon glyphicon-briefcase" style="margin-right: 4px; font-size: 18px;"></span>
<span class="glyphicon glyphicon-chevron-right" style="font-size: 12px"> </span>
</div>
这是我的JSFiddle https://jsfiddle.net/danielyaa5/m2q9aLoa/2/
我想将右雪佛龙图标向上移动,但我似乎无法这样做,添加边距顶部似乎会使整行向下移动,与添加相同填充。
https://jsfiddle.net/m2q9aLoa/6/
方法= 1
<div>
<span id="open-toolkit" class="glyphicon glyphicon-briefcase"
style="margin-right: 4px; font-size: 18px;"></span>
<span class="glyphicon glyphicon-chevron-right"
style="font-size: 18px;"></span>
</div>
方法= 2
<div>
<span id="open-toolkit" class="glyphicon glyphicon-briefcase"
style="margin-right: 4px; font-size: 18px;"></span>
<span class="glyphicon glyphicon-chevron-right"
style="font-size: 12px;top:-2px;position:relative"></span>
</div>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句