Closed huanglong-zz closed 10 years ago
抱歉,现在没有文档,后续会说明此种通用模块的具体结构,现在可以参考 emmett-plus 中的三种情况:纯图片,纯文字和图文混排,当然为了避免出错和快速开发,可以直接安装该插件。 https://github.com/yisibl/emmet-plus/blob/master/snippets-emmet-plus.json#L129
<div class="center-box">
<b class="center-hack"></b>
<div class="center-content">
<div class="center-img"><a href=""><img src="" alt=""></a></div>
<p>未知高度垂直居中模块</p>
</div>
</div>
demo 有误, @huanglong 老师改下
建议安装 @yisibl 老师的 emmet snippet
图片垂直居中的结构是不是不可以随意调整,如下是:
会导致 外面的文字被遮挡。但愿是我的用法有问题