E
E
Elena Vakhrusheva2018-03-07 13:06:45
JavaScript
Elena Vakhrusheva, 2018-03-07 13:06:45

How to make a media query in JS?

verstka.vetov.ru/13floor/index-all03.html
The Wookmark library for brickwork is connected.
Margins are set in wookmark.js (39px) - fixed on the sides
How to make the width of li be:
1360-1024 = 196px
1024 = 264px
320 = 282px ?

There is an option at the end of the page, but it doesn't work(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Strannyk, 2018-03-07
@Strangek

document.documentElement.clientWidth and resize event fail?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question