Chrome -webkit-object-fit不起作用 [英] Chrome -webkit-object-fit doesn't work

查看:2394
本文介绍了Chrome -webkit-object-fit不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Chrome中的样式表中使用 -webkit-object-fit 会产生「未知的属性名称」。



只是不支持吗? -webkit-border-image 有效。

解决方案

http://caniuse.com/object-fit



2016年2月15日更新



此扩展现在支持所有主流浏览器,除了Internet Explorer和Edge(尽管它考虑中,因此很可能



>

这个特定的扩展程序似乎是一个Opera支持的项目,因为
没有从任何其他浏览器获得支持。



Using -webkit-object-fit in stylesheet in Chrome generates "unknown property name".

Is it just not supported? -webkit-border-image works.

解决方案

http://caniuse.com/object-fit

Updated Feb 15, 2016

This extension is now supported without prefixes in all major browsers except Internet Explorer and Edge (although it is flagged as Under Consideration with medium priority in Edge, so it is likely to be supported there in the future).

Original (outdated) answer

This particular extension appears to be an Opera-backed project, as it has not garnered support from any other browsers.

这篇关于Chrome -webkit-object-fit不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆