阅读背景:

如何在不使用填充的情况下垂直对齐跨度img和文本?

来源:互联网 

HTML

<div class="cs1">
    <span class="cs2">Label</span>
    <span class="cs3"><img src="icon.png" /></span>
    <span class="cs4">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span>
</div>
<div class="cs1">
    <span class="cs2">



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: