+ 5

how to make "☰" as an icon for a navigation bar?

when coding in sublime text editor or any pc IDE

14th Jul 2019, 11:06 PM
Umar Idris
Umar Idris - avatar
4 odpowiedzi
+ 8
Bootstrap has that icon if I am not mistaken. Else, you can either: - Use <img> with a picture of it, either online or offline. Preferably a PNG. - Draw it out yourself with <svg>. It ain't that hard to draw, just 3 thick lines.
14th Jul 2019, 11:24 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 10
If you want custom icon: Use empty element (for example, <span>) and its pseudo-elements(::after, ::before) and make some simple styles with them. Later I will send you code
15th Jul 2019, 3:10 AM
Вап
+ 4
abba_ktg the icon is named &equiv;
15th Jul 2019, 3:43 AM
Avirur Rahman
Avirur Rahman - avatar
+ 4
First create a nav bar using nav tag And create a button tag in navbar And you are create a icon in navbar using this tag <Span class="icon"></span> <Span class="icon"></span> <Span class="icon"></span> Write three times and get three icon. Give me up vote ☺️☺️
21st Jul 2019, 3:57 AM
Deepak Thakur