"Responsive media queries"
Bootstrap 3.3.0 Snippet by foysal991

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2> </div> </div>
/* desktop Layout: 991. */ @media only screen and (min-width: 991px) and (max-width:1170px){ .sidemenu { background: #FFD000!important; } } /* laptop Layout: 991. */ @media only screen and (min-width: 768px) and (max-width:991px){ .sidemenu { background: #FF00BF!important; } } /* tab Layout: 768. */ @media only screen and (max-width: 768px) { .sidemenu { background: #00ADED!important; } } /* mobile Layout: 480. */ @media only screen and (max-width: 480) { .sidemenu { background: #7EED00!important; } } /* small mobile Layout: 320. */ @media only screen and (max-width: 320px) { .sidemenu { background: #9C2382!important; } }

Related: See More


Questions / Comments: