sidebar toggle with js

Side bar toggle with pure java script or sidebar menu

how to use side bar menu toggle with java script for HTML <div id=”sidebar”> <div class=”toggle-btn” onClick=”toggleSidebar()”> <span></span> <span></span> <span></span> </div> <ul> <li><a href=”#” >Home</a></li> <li><a href=”#” >About</a></li> <li><a href=”#” >Service</a></li> <li><a href=”#” >Product</a></li> <li><a href=”#” >Contact</a></li> </ul> </div> for CSS #sidebar{ position:fixed; width:250px; height:100%; READ MORE

CSS Pseudo-elements “:after”, “:last-child” and “:not()” selector.

CSS Pseudo-classes child selectors If you want box border or button border or div border without margin and showing proper  you can use pseudo class “:not() selector” class .btn-group button:not(:first-child) ,This Pseudo-class or selector work opposite type for example all button right side border none READ MORE