css - Hamburger Button in Bootstrap -
i want fix classic bootstrap style hamburger button on navbar, 1 appears toggle button when screen size gets sufficiently small.
anyways, how can display button is, without having implement through navbar-toggle class?
edit: here button have:
<div> <div class="center"> <button type="button" class="btn">☰</button> </div> </div> body { background: #222;
}
.center { width: 100px; margin: 50px auto; } .btn { background-color: #222; border: 1px solid #3a3a3a; color: #d3d3d3; width: 42px; margin-left: 42px; font-size: 23px; height: 34px; transition: color 0.45s; transition: border 0.45s; } button.btn:hover { color: #2978e0; border: 1px solid #61a5ff; }
https://jsfiddle.net/rstty1ye/
using utf-8 character mentioned on tutsplus.com it's not original finding or idea.
nevermind, figured out.
created custom button , used utf-8 character: trigram heaven bars.
Comments
Post a Comment