css3 tags 3d

Create Simple CSS3 Tags 3D

Written by

3D tags, today we are going to create CSS3 Tag 3D. As an experiment tags link is good for SEO keyword, in this article we’ll create the tags using box-shadow, text-shadow and radius, which will add on of each tag.  We’ve covered 100 tutorial CSS3 before on Freshdesignweb, but on this occasion we’ll show an alternative method of creating tags that you can easy add in your wordpress website.

css3-tags-3d

Demo  download

For the purpose of this tutorial we’ll create a 3D box on our tags. You will most likely need something similar should you use these in, for example, a blog sidebar.

Let’s go with my tutorial coding bellow:

The Markup Language

The Cascading Style Sheets (CSS) Tags will have the following code:

 a, a:hover,a:focus{color:#59b329;text-decoration:none;outline:none}
     ul,ol,li{display:block;margin:0;padding:0}ol,ul{list-style:none}
	.tag,.tabs-link{padding-bottom:3px;-webkit-box-shadow:inset 0 -2px rgba(255,255,255,0.1),inset 0 -3px rgba(0,0,0,0.1),0 1px rgba(0,0,0,0.05);box-shadow:inset 0 -2px rgba(255,255,255,0.1),inset 0 -3px rgba(0,0,0,0.1),0 1px rgba(0,0,0,0.05)}
    .tag,.tabs-link{display:inline-block;vertical-align:top;line-height:2em;padding-top:0;font-weight:bold;color:#505050;text-align:center;text-shadow:0 1px rgba(255,255,255,0.5);background:#eaefef;border:0px white;border-radius:2px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}
	.tag:hover,.tabs-link:hover{color:white;background:#20aae5;text-decoration:none;text-shadow:0 1px rgba(0,0,0,0.15);outline:none}
	.tag:active,.tabs-link:active{padding-bottom:2px;border-top:1px solid white;-webkit-box-shadow:inset 0 -2px rgba(0,0,0,0.1),0 1px rgba(0,0,0,0.05);box-shadow:inset 0 -2px rgba(0,0,0,0.1),0 1px rgba(0,0,0,0.05)}
    .tags-heading{height:2em;line-height:2em;margin-bottom:1em}
    .tags-heading>h4{margin:0;line-height:inherit}
    .tags-toggle{display:none;text-align:center;font-weight:bold}
    .tags-toggle:before{content:"e010";margin-right:.5em}
    .tags-list{overflow:hidden;line-height:1.5em}
    .tags-list>li{float:left;margin:0 .8em .8em 0}
    .tag{display:block;padding-left:.6em;padding-right:.6em;line-height:inherit;font-size:.9375em;font-weight:normal;color:#778187;background:#f2f2f3}

Now! We have a beautiful CSS3 tags with 3D style. Check out the demo below, and feel free to download this example for future use. I hope you enjoyed this tutorial and find it useful!

 

Leave a Reply

Your email address will not be published. Required fields are marked *