less - Loading a page correctly with Masonry + LessCSS -


i had problem masonry plugin causing function when viewport being changed, meaning masonry boxes invisible until resize browser window. after boxes not olny visible masonry works expected.

i resolved problem using regular css again styling, , not less css anymore had intended.

but able use both? (it doesn't seem it's simple 'reorder how scripts being loaded' kind of thing)

funnily when use jsfiddle , implement less css there, there no problem. maybe can tell me jsfiddle fix issue?

https://jsfiddle.net/rcygo5fy/

 code 

"solution": since solution hassle code , compiling css on every load heavy, client-side, best solution leave less out of end result , use development less-to-css-rendered file actual usage. css masonry timing problem goes away.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -