Hello
Eventhough as specified in the Solution 1 , bootstrap and foundation are the best mechanisms, you can also try using a media query. This you can quickly implement.
For Ex:
@media screen and (max-width: 300px) {
body {
background-color: lightblue;
}
}
That means you can specify the css class/ styles based on your screen resolutions. Just search in google 'writing media query'.
For Ex:
http://www.w3schools.com/cssref/css3_pr_mediaquery.asp[
^]