K
K
kasumbekovaskar2016-02-10 16:40:53
Layout
kasumbekovaskar, 2016-02-10 16:40:53

CSS3 only operator?

The only operator allows you to include styles for browsers that do not support media queries or when you want to hide the media rule from older browsers that do not support the described syntax ???

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergski, 2016-02-10
@sergski

Hmm) Here is what the W3C writes -

The keyword 'only' can also be used to hide style sheets from older user agents. User agents must process media queries starting with 'only' as if the 'only' keyword was not present.

Those, if the old browser does not support only, then the styles will be ignored, and the supporting ones treat the styles as if only were not.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question