Circled red cross 2
by Simon Hi
HTML
<ul>
<li><a href="#">Search</a></li>
</ul>
CSS
ul {
list-style: none;
}
/* gc-nomade sight */
ul > li > a {
-webkit-transform: scale(3);
transform: scale(3);
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
background: -webkit-linear-gradient(right, transparent 50%, rgba(0, 0, 0, 0.2) 50%), -webkit-linear-gradient(bottom, transparent 50%, rgba(0, 0, 0, 0.2) 50%);
background: linear-gradient(to left, transparent 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(to top, transparent 50%, rgba(0, 0, 0, 0.2) 50%);
}
/* circled red cross */
ul > li > a {
font-size: 0;
border-radius: 100%;
border: 1px solid #f00;
height: 50px;
width: 50px;
position: relative;
display: block;
text-decoration: none;
}
ul > li > a:before {
display: block;
position: absolute;
background-color: #f00;
content: "";
width:50%;
height:8%;
top:50%;
margin-top:-4%;
left:25%;
}
ul > li > a:after {
display: block;
position: absolute;
background-color: #f00;
content: "";
width:8%;
height:50%;
top:25%;
margin-left:-4%;
left:50%;
}