CSS: top bar aligned

Asked

Viewed 68 times

-1

I need the h6 "BI" stand next to mine span menu, but with considerable spacing. I tried to do with div and li, but anyway, "BI" ends up below the span.

Exemplo de como está agora

.topnav {
  background-color: #111;
  overflow: hidden;
}

#spanOpen {
  cursor: pointer;
  font-size: 30px;
  color: #f1f1f1;
}

#bi {
  color: #f1f1f1;
  font-size: 30px;
}
<div id="topBar" class="topnav">
  <ul>
    <li>
      <span id="spanOpen" v-on:click="openMenu">&#9776;</span>
      <h5 id="bi"> BI</h5>
    </li>
  </ul>
</div>

1 answer

1


  • Solved, thank you very much!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.