JSFiddle - React, Tailwind, and code Playground
by brunogc
HTML
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
<div class="nest">
<div class="bubble"></div>
<div class="bubble2"></div>
<div class="bubble3"></div>
<div class="glow"></div>
<a class="dot" href="#" aria-labelledby="discover-more" role="button"><i class="fa fa-plus"></i></a> </div>
CSS
.nest{
float: left;
margin: 15px 0 0 15px;
position: relative;
}
div.bubble,div.bubble2,div.bubble3 {
position: absolute;
width: 24px;
height: 24px;
border-radius: 18px;
background: -moz-linear-gradient(top,#9be100,#88c700);
-moz-animation-name: bubbleFloat;
-moz-animation-duration: 6.77s;
-moz-animation-iteration-count: infinite;
animation-name: bubbleFloat;
animation-duration: 6.77s;
animation-iteration-count: infinite;
-webkit-border-radius: 20px;
border-radius: 20px;
background: -webkit-gradient(radial,center center,0,center center,100,from(#9be100),to(#88c700));
background: radial-gradient(circle,#9be100,#88c700);
-webkit-animation-name: bubbleFloat;
-webkit-animation-duration: 6.77s;
-webkit-animation-iteration-count: infinite;
background: -o-linear-gradient(top,#9be100,#88c700);
top: 8px;
left: 8px;
}
div.bubble2 {
-webkit-animation-duration: 10.31s;
-moz-animation-duration: 10.31s;
animation-duration: 10.31s;
}
div.bubble3 {
-moz-animation-duration: 8.22s;
-webkit-animation-duration: 8.22s;
animation-duration: 8.22s;
}
.outer {
position: absolute;
top: -5px;
left: -5px;
width: 50px;
height: 50px;
-moz-border-radius: 40px;
-webkit-border-radius: 40px;
border-radius: 40px;
background: rgba(0,0,0,.1);
}
.dot {
position: absolute;
width: 40px;
height: 40px;
border-radius: 40px;
background: -moz-linear-gradient(top,#9be100,#88c700);
-moz-transition: all .2s linear;
-moz-transform: scale(.9);
background: -webkit-gradient(radial,center center,0,center center,100,from(#9be100),to(#88c700));
background: radial-gradient(circle,#9be100,#88c700);
background: #91d300;
-webkit-transition: all .2s linear;
transition: all .2s linear;
-webkit-transform: scale(.9);
transform: scale(.9);
color: #FFF;
text-decoration: none;
font-weight: bold;
...