Home › Forums › CSS › Vertical centring with right alignment of hamburger icon in Bootstrap navigation › Reply To: Vertical centring with right alignment of hamburger icon in Bootstrap navigation
You could try putting
position: relative on that
float-right class, then the button with
position: absolute (BTW why not set
right: 0 in stead?) might stay in place. Could also try
display: inline-block with
vertical-align: middle but maybe even better try flexbox though. I like the video; it’s kind of amusing to see: digging yourself into a hole: we’ve all been there with CSS! Can you make a demo of this, (because you can’t expect people over here to download a zip-file).