如何让"x"在跨度中间垂直对齐?
.foo { height: 50px; border: solid black 1px; display: inline-block; vertical-align: middle; } <span class="foo"> x </span>
html css
css ×1
html ×1