我试图让列表中的项目符号在顶部而不是底部对齐。
这是我的意思的一个例子:https : //jsfiddle.net/2ma994cr/
<ul class="a">
<li>Thing 1</li>
<li><iframe width="420" height="315" src="https://www.youtube.com/embed/3B49N46I39Y" frameborder="0" allowfullscreen></iframe></li>
<li>Thing 3</li>
</ul>
Run Code Online (Sandbox Code Playgroud)
正如您在小提琴中看到的,嵌入对象的要点位于底部。
是否有<li>我可以在 CSS 中添加的样式将其与顶部对齐或以其他方式对齐?