是的你可以。
@supports (-webkit-touch-callout: none) {
/* CSS specific to iOS devices */
}
@supports not (-webkit-touch-callout: none) {
/* CSS for other than iOS devices */
}
YMMV。
之所以有效,是因为仅 实现了-webkit-touch-callout
请注意,@supports
在IE中不起作用。IE将跳过以上两个@support
块。