Link:
http://tympanus.net/Development/IconHoverEffects/#set-7
When you flip any circle icon in the link above, it disappears in CURVE (which, I believe, is another WHITE circle after the circle that appears). I don't need this rollover effect, but I want to have a simple curve next to the circle.
I believe that we can do this with the class css after. I tried to create a class .circleand placed it afterwith a 10px field increase, but it does not work.
Can anyone check my code or suggest how to do this?
jsfiddle: http://jsfiddle.net/dBQ5s/
CSS
.circle {
background:#000;
color:#FFF !important;
text-align:center;
-moz-border-radius:75px;
-webkit-border-radius:75px;
border-radius:75px;
width:100px;
height:100px;
border:5px SOLID RED;
}
.circle:after {
background:green;
-moz-border-radius:75px;
-webkit-border-radius:75px;
border-radius:75px;
width:120px;
height:120px;
margin-left:20px;
margin-top:20px;
}
source
share