JSFiddle - React, Tailwind, and code Playground

by minitech

HTML

<div class="lightbulb">
<div id="bulb-top"></div>
<div id="bulb-bottom"></div>
</div>

CSS

.lightbulb {
    position: relative;
    width: 900px;
    height: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-bottom: 90px;
}

#bulb-top {
    position: relative;
    width: 280px;
    height: 280px;
    background-color: #E5F7A3;
    border-radius: 280px;
    border: 8px solid #FFF40C;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 0px 15px 1px #FFF40C;
    z-index: 4;
}

#bulb-bottom {
    position: relative;
    width: 140px;
    height: 120px;
    background-color: #E5F7A3;
    border-radius: 0px 0px 30px 30px;
    border-left: 8px solid #FFF40C;
    border-right: 8px solid #FFF40C;
    border-bottom: 8px solid #FFF40C;
    top: -5px;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 0px 0px 15px 1px #FFF40C;
    -moz-box-shadow: 0px 0px 15px 1px #FFF40C;
    box-shadow: 0px 0px 15px 1px #FFF40C;
    z-index: 5;
}