css - 试图使视频的缩略图图像具有响应性
问题描述
当用户在我的网站上上传视频时,它会显示视频的静止图像,当前设置为 160 像素 x 160 像素。我的所有其他元素都是响应式的,除了视频 img。我可以写什么来获得更具响应性的设计?
这是控制该元素的代码:
.video_thumb_wrapper {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
float: left;
margin-bottom: 2px;
background: #666;
width: 160px;
height: 160px;
border: 4px solid;
}
解决方案
推荐阅读
- android - PreferenceFragmentCompant 在 rootKey 上的 onCreatePreferences 中显示 null
- perl - Net::SSH::Perl:收到断开连接消息:用户名身份验证失败太多
- reactjs - 在redux中API调用成功后调用另一个动作?
- networking - NS2中的Linux TCP拥塞控制算法
- r - 在R中一次替换矩阵中的多个值
- apache - 将站点移动到子域,.htaccess 重定向 Apache
- css - 单击时在两个 ngClass 类之间切换,但仅适用于单击的元素
- c - 哪个函数负责在linux“usbserial”驱动程序中接收数据?
- r - gauher(k) 中的错误:使用 difGenLord 函数找不到对象“gh”
- vba - 这个 Visual Basic 代码有什么作用?微软 word 宏