I am trying to develop a responsive website using bootstrap, in which I am designing a navbar which contains a toggle button that should only show up when the browser is squeezed to -sm scale device.
I tried to hide it by giving my button a class as visible-sm, it didn't work. The toggle button is always visible no matter whatever be the screen size, I want this button only to be visible in small screen size.
<button class="navbar-toggler visible-sm" data-toggle="collapse" data-target="#navbarMenu">
<span class="navbar-toggler-icon"></span>
</button>
my jfiddle link: https://jsfiddle.net/t1yodsxf/