我正在使用字体很棒的库。我想将“箭头”图标水平居中。DIV必须处于绝对位置。
我使用此代码,但不起作用。
.arrow { left: 0; right: 0; }
JSFiddle演示
width:100%绝对使用div
width:100%
div
.home .center { position: absolute; bottom: 0; top:30px; text-align: center; width:100%; }
更新的小提琴
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
点击生成二维码
我来说两句