JSFiddle - React, Tailwind, and code Playground

by mackry

HTML

<div id="dot">

</div>

CSS

#dot {
    background: -webkit-linear-gradient(top, #fff, #eee);
    border: 1px solid #009bf4;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 10px;
    width: 10px;
    
    border-radius: 20px;
    box-shadow: 0 1px rgba(0,0,0,.1);
    
    -webkit-transition: background .2s ease-in-out;
}

#dot:hover {
    background: #009bf4;   
}