Seeking advice on implementing @media
queries for tablets with a width of 991px. Currently, the CSS file is optimized for mobile devices but needs adjustments for tablet responsiveness in the dropdown menu.
I attempted the following CSS code:
@media (max-width: 991px) {
.navbar-header {
float: none;
}
.navbar-toggle {
display: block;
}
.navbar-collapse.collapse {
display: none !important;
}
.navbar-nav>li {
float: none;
background: black;
}
.navbar-text {
float: none;
margin: 15px 0;
}
.navbar-collapse.collapse.in {
display: block !important;
}}
You can view the current state on this Plunker. The dropdown menu functionality should be tailored to function up to 991px width but it's currently limited to 768px. Any suggestions on how to rectify this issue?