JSFiddle - React, Tailwind, and code Playground

by Manju06

HTML

<div class="hamburger">
    <div class="line"></div>
    <div class="line"></div>
    <div class="line"></div>
</div>

CSS

html, body {
    height: 100%;
    background: linear-gradient(-45deg, #c850c0, #4158d0);
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
}

.hamburger{   
    width: 50px;
    height: 40px;
    position: absolute;
    top: 20px;
    padding: 1px;
    left: 20px;
  
}

.line{
    width: 35px;
    height: 4px;
    margin: 7px;
    border-radius: 2px;  
 background-image: repeating-linear-gradient(red, yellow 10%, green 20%);
}