7#. Tags- "Design it & Code it"

by J. Albert Bowden

HTML

<p class="tags custom">
    <a href="#">awesome</a>
    <a href="#" class="tag-blue">free</a>
    <a href="#" class="tag-orange inset">ie sucks</a>
    <a href="#" class="tag-red">tags cloud</a>
    <a href="#" class="tag-blue inset">jsfiddle</a>
    <a href="#" class="inset">tags</a>
    <a href="#" class="tag-orange">pure css</a>
    <a href="#" class="tag-red inset">webdesign</a>
</p>

CSS

body {
  background: #f5f5f5 url(http://dl.dropbox.com/u/20586331/DiCi/7.tags/bg.png);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; 
  font-size: 12px;
  padding: 200px;
}

.custom {
  width: 260px;
}

.tags {
  padding: 0;
  margin: 0;
}
.tags a {
  background-image: -moz-linear-gradient(top,  rgba(255,255,255,0.12) 0%, rgba(0,0,0,0.1) 99%, rgba(0,0,0,0.1) 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.12)), color-stop(99%,rgba(0,0,0,0.1)), color-stop(100%,rgba(0,0,0,0.1)));
  background-image: -webkit-linear-gradient(top,  rgba(255,255,255,0.12) 0%,rgba(0,0,0,0.1) 99%,rgba(0,0,0,0.1) 100%);
  background-image: -o-linear-gradient(top,  rgba(255,255,255,0.12) 0%,rgba(0,0,0,0.1) 99%,rgba(0,0,0,0.1) 100%);
  background-image: -ms-linear-gradient(top,  rgba(255,255,255,0.12) 0%,rgba(0,0,0,0.1) 99%,rgba(0,0,0,0.1) 100%);
  background-image: linear-gradient(top,  rgba(255,255,255,0.12) 0%,rgba(0,0,0,0.1) 99%,rgba(0,0,0,0.1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1fffffff', endColorstr='#1a000000',GradientType=0 );

  -webkit-border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 3px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;

  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  line-height: 25px;
  height: 25px;
  padding: 0 10px;
  position: relative;
  text-shadow: 0 1px 0 rgba(0,0,0,0.5);
  text-decoration: none;
  margin: 0 15px 5px 0;

  border: 1px solid;
  border-left: 0;
  color: #fff;
}
.tags a:before {  
  background-image: -moz-linear-gradient(-45deg,  rgba(255,255,255,0.12) 0%, rgba(0,0,0,0.1) 99%, rgba(0,0,0,0.1) 100%);
  background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(255,255,255,0.12)), color-stop(99%,rgba(0,0,0,0.1)),...

JavaScript

/**
 *
 * 7#. Tags - "Design it & Code it"
 * Author: Idered <http://idered.pl>, IderedPL[at]gmail[dot]com
 *
 * Please don't repost source of this on websites, instead give a link.
 * No images used, except for body background.
 * Add your settings in "Customs" section.
 * Feel free to use as you want :)
 *
 */