Circled red cross

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 {
  font-family: arial;
  color: #f00;
  content: "+";
  font-size: 50px;
  line-height: 50px;
  display: block;
  position: absolute;
  text-align: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}