Bootstrap 4 Toggle left to right expand -
i have been looking @ bootstrap 4 documentation want toggle div shrink , expand left right found toggle toggle expands @ top.
here found:
<div class="pos-f-t"> <div class="collapse" id="navbartoggleexternalcontent"> <div class="bg-dark p-4"> <h4 class="text-white">collapsed content</h4> <span class="text-muted">toggleable via navbar brand.</span> </div> </div> <nav class="navbar navbar-dark bg-dark"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbartoggleexternalcontent" aria-controls="navbartoggleexternalcontent" aria-expanded="false" aria-label="toggle navigation"> <span class="navbar-toggler-icon"></span> </button> </nav> </div>
how can left right expand when button clicked?
Comments
Post a Comment