代码
后台
#cnblogs_post_body .video { height: 0; padding-bottom: 56.25%; /* 16:9 */ position: relative; width: 100%;}#cnblogs_post_body .video iframe,#cnblogs_post_body .video video{ position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
本文共 352 字,大约阅读时间需要 1 分钟。
#cnblogs_post_body .video { height: 0; padding-bottom: 56.25%; /* 16:9 */ position: relative; width: 100%;}#cnblogs_post_body .video iframe,#cnblogs_post_body .video video{ position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
转载于:https://www.cnblogs.com/ctgu/p/11454833.html