lundi 29 août 2016

Position:fixed toolbar in a div next to a dynamic width side nav

I have a side nav that can be collapsed. I want my toolbar div to be fixed to the top and fill the rest of the width. 100% causes it to go off the page. I can't do a calc() because of the dynamic width of the sidenav.

How can I set a position: fixed div to fill the remaining width?

Aucun commentaire:

Enregistrer un commentaire