K
K
Konstantin Danilov2021-07-05 23:36:39
JavaScript
Konstantin Danilov, 2021-07-05 23:36:39

How to merge sizes in js media?

Is it possible to somehow put it in this
@media(min-width:992px)and(max-width:1199px)

const mediaDesktop = window.matchMedia("(min-width:992px)")

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2021-07-05
@l2pras

const mediaDesktop = window.matchMedia("(min-width:992px) and (max-width:1199px)")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question