javascript - Responsive Bootstrap -


i added responsive bootstrap application , things working great. i've been able make modifications layout based on screen resolutions following in application.css file:

* // other stuff here...// * *= require_self *= require bootstrap_and_overrides *= require_tree . */  @media (min-width: 1200px) {   #winner_table { max-width: 30%; } } 

now, i'm wondering if it's possible make modifications these javascript based on screen resolution? specifically, want popover on element float right default, float when using phone. options this? may incorrect assuming responsive bootstrap can solve problem, feel solvable problem somehow.

you can use matchmedia.js call jquery elements - https://github.com/paulirish/matchmedia.js/


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -