How to Create Hamburger Menu Icon Without Thrid Party Code

When making a responsive menu, we sometimes need to use a hamburger menu icon to toggle opening and closing for the menu list. 

We can use font-awesome to get the icon.


If you don't want to use any third party library like font-awesome to display a hamburger menu bar, you can use the in-built HTML characters like the following:
Symbol Code
☰☰
⚌ ⚌
= ==
≡ ≡ ≡ ≡
Ξ Ξ Ξ Ξ
≣≣

How to Use

Just type in the code in HTML file.
☰
<!-- It will display ☰ --/>

Comments

Popular posts from this blog

How to Make A Reusable Image Slideshow HTML Component With Vanilla JavaScript

HTML Tags and Inline CSS that Work In Plotly.js Title

How to Type Spaces In HTML Input And Display In the Browser