So, I searched and searched for guidance on this to no avail.
Basically, I just want to have a sidebar, but when the screen becomes small, as well as the screen size of the smartphone, it turns into a navigation bar.
My sidebar HTML code is this:
<nav class="col-sm-3 ">
<div class="col-sm-12" id="fixed-sidebar">
<ul>
<li class="fuente-fjalla ul-personalizada">Animación</li>
<li class="fuente-fjalla ul-personalizada">Ilustración</li>
<li class="fuente-fjalla ul-personalizada">Interacción</li>
<br>
<li class="fuente-fjalla ul-personalizada">Blog</li>
<br>
<li class="fuente-fjalla ul-personalizada"><a href="acerca.html">Acerca</a></li>
<li class="fuente-fjalla ul-personalizada">Contacto</li>
</ul>
</div>
</nav>
My CSS:
#fixed-sidebar {
position: fixed;
max-width: 20%;
color: white;
}
I have no idea how to do this in navbar. All I know is how to get the navigator to start, but I don't want that! I don’t want any of these bizarre animated overlay multicolor accordions - anything, please, please -
Thank:)
source
share