Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.vegas-container').removeAttr('style');
- $(window).resize(function() {
- if ($('body').width() < 1000)
- $('.vegas-container').height(200);
- else
- $('.vegas-container').height(400);
- });
- .vegasHere {
- width: 100%;
- height: 200px;
- }
- @media (min-width: 1000px) {
- .vegasHere {
- height: 400px;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement