V
V
Vladislav2017-11-30 22:55:54
css
Vladislav, 2017-11-30 22:55:54

Question about Media Query?

Explain how these media queries work properly...
768-1024 onwards? what type of device is this?

@media (max-width: 1024px) and (min-width: 768px) and only screen and (max-width: 1300px)
@media (max-width: 1024px) and (min-width: 768px) and (max-width: 1024px) and (min-width: 768px)
@media (max-width: 1024px) and (min-width: 768px) and (max-width: 374px)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-12-01
@AlexZaw

The only statement is used when you want to hide the media rule from older browsers that do not support the described syntax. Browsers that support media queries will simply ignore the only statement.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question