【发布时间】:2020-11-12 17:56:50
【问题描述】:
我需要我的项目在两行中,h3 和列表作为一行,视频在第二行。
h3 和列表位于顶行,视频位于下方。此外,当我检查它在手机/平板电脑设置上不是移动响应时。
.features section {
display: flex;
flex-direction: row;
flex-flow: row;
width: 100%;
}
h3{
position: static;
height: 47px;
left: 0px;
top: 0px;
font-family: Montserrat;
font-style: normal;
font-weight: normal;
font-size: 36px;
line-height: 130%;
display: flex;
align-items: center;
color: #262424;
flex: none;
order: 0;
flex-grow: 0;
margin: 0px 24px
<div class="bg-white overflow-hidden">
<div class="features">
<div class="flex relative max-w-screen-xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<section>
<h3 class="flex-1"> Features</h3>
<ul>
<li>Easy group conversation </li>
<li>Free movement</li>
<li>Emojo</li>
<li>Private messages</li>
<li>Presenting</li>
<li>Tags</li>
</ul>
<video class="flex-2" width=869px height="346px" autoplay loop muted>
<source src="video.mp4" type="video/mp4">
</video>
</section>
</div>
</div>
</div>
【问题讨论】: