I\'ve written out a very basic script to add/remove a class on load or when a window is resized.
I was just wondering if there was a better way of doing this or if i
Use Media classes
@media screen and (max-width: 900px) { .class { width:800px; } } @media screen and (max-width: 500px) { .class { width:450px; } }