我有一个与amp-carousel
. 根据与产品相关的内容,每个轮播幻灯片都有不同的高度。
我已将轮播设置为响应布局并设置高度,如下所示:
<amp-carousel width="367" height="635" layout="responsive" class="o-wrapper fabric-gallery" type="slides" controls loop>
我假设使用布局响应将高度设置为自动。
使用类似的东西flex-item
会更合适吗?
我有一个与amp-carousel
. 根据与产品相关的内容,每个轮播幻灯片都有不同的高度。
我已将轮播设置为响应布局并设置高度,如下所示:
<amp-carousel width="367" height="635" layout="responsive" class="o-wrapper fabric-gallery" type="slides" controls loop>
我假设使用布局响应将高度设置为自动。
使用类似的东西flex-item
会更合适吗?