I created a simple hamburger menu icon where I want the middle line to be a little shorter than the other two. Can this be done without creating multiple divs ? My current solution is being executed by several box-shadows , see my working example .
This is what I have against what I want to achieve:

My CSS:
.menu-button:before { content: ""; position: absolute; left: 20px; top: 20px; width: 24px; height: 4px; background: #0e3c89; box-shadow: 0 8px 0 0 #0e3c89, 0 16px 0 0 #0e3c89; }
Thanks!
source share