javascript - How to get window size in css -


i have requirement want make work knockout.js. have div attribute binding. when user resizes window, planning set attribute binding through css feel should update view model.

so can tell me whether possible screen size more 500px , whether can update attribute binding through css?

please let me know if further information required on regard.

you cannot manipulate dom element attributes css, need use javascript!


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -