我正在尝试制作嵌入式视频,以响应窗口大小的变化,并与移动屏幕兼容.有谁知道要实施哪个类或如何使视频响应?谢谢.
解决方法
responsive embed component与
release of Bootstrap 3.2.0一起添加.
<!-- 16:9 aspect ratio --> <div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" src="…"></iframe> </div> <!-- 4:3 aspect ratio --> <div class="embed-responsive embed-responsive-4by3"> <iframe class="embed-responsive-item" src="…"></iframe> </div>
原文地址:https://www.jb51.cc/bootstrap/233921.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。