Pure CSS3 Tags

Size
4,052 Kb
Views
14,168

How do I make an pure css3 tags?

Original project here: http://designitcodeit.com/i/7. What is a pure css3 tags? How do you make a pure css3 tags? This script and codes were developed by Kasper Mikiewicz on 21 November 2022, Monday.

Pure CSS3 Tags Previews

Pure CSS3 Tags - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure CSS3 Tags</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 12px; padding: 40px 0 0 0;
}
.tags { padding: 0; margin: 0;
}
.custom { width: 260px; margin: 0 auto;
}
.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%); -webkit-border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; border-radius: 0px 3px 3px 0px; -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; border: 1px solid; border-left: 0; position: relative; display: inline-block; margin: 0 15px 5px 0; padding: 0 10px; height: 25px; color: #fff; font-size: 12px; font-weight: bold; line-height: 25px; text-shadow: 0 1px 0 rgba(0,0,0,0.5); text-decoration: none;
}
.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)), color-stop(100%,rgba(0,0,0,0.1))); background-image: -webkit-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: -o-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: -ms-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: linear-gradient(-45deg, rgba(255,255,255,0.12) 0%,rgba(0,0,0,0.1) 99%,rgba(0,0,0,0.1) 100%); -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); filter: progid:DXImageTransform.Microsoft.Matrix(/* IE6–IE9 */ M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476, sizingMethod='auto expand'); zoom: 1; -webkit-box-shadow: 1px 0px 0 rgba(255,255,255,0.5) inset; -moz-box-shadow: 1px 0px 0 rgba(255,255,255,0.5) inset; box-shadow: 1px 0px 0 rgba(255,255,255,0.5) inset; content: ''; z-index: -1; position: absolute; height: 18px; width: 18px; left: -10px; top: 3px; border: 1px solid; border-right: 0; border-top: 0;
}
.tags a:after { background: #fff; border: 1px solid #888; border-radius: 5px; content: ''; position: absolute; height: 5px; width: 5px; top: 9px; left: 0;
}
.tags a:hover { background-image: -moz-linear-gradient(top, rgba(255,255,255,0.25) 0%, rgba(0,0,0,0.1) 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.25)), color-stop(100%,rgba(0,0,0,0.1))); background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: -o-linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: -ms-linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%);
}
.tags a:hover:before { background-image: -moz-linear-gradient(-45deg, rgba(255,255,255,0.25) 0%, rgba(0,0,0,0.1) 100%); background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(255,255,255,0.25)), color-stop(100%,rgba(0,0,0,0.1))); background-image: -webkit-linear-gradient(-45deg, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: -o-linear-gradient(-45deg, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: -ms-linear-gradient(-45deg, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: linear-gradient(-45deg, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%);
}
.tags a:active { background-image: -moz-linear-gradient(top, rgba(0,0,0,0.14) 0%, rgba(255,255,255,0.12) 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.14)), color-stop(100%,rgba(255,255,255,0.12))); background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: -o-linear-gradient(top, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: -ms-linear-gradient(top, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: linear-gradient(top, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%);
}
.tags a:active:before { background-image: -moz-linear-gradient(-45deg, rgba(0,0,0,0.14) 0%, rgba(255,255,255,0.12) 100%); background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(0,0,0,0.14)), color-stop(100%,rgba(255,255,255,0.12))); background-image: -webkit-linear-gradient(-45deg, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: -o-linear-gradient(-45deg, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: -ms-linear-gradient(-45deg, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: linear-gradient(-45deg, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%);
}
.tags .inset { color: rgba(0,0,0,0.5); text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
/* === Customs ========== */
.tags a,
.tags a:before { background-color: #b7b7b7;}
.tags a,
.tags a:after,
.tags a:before { border-color: #777; }
.tags a.inset { color: #454545; /* Here you can override the default rgba(0,0,0,0.5); */ }
.tags .tag-red,
.tags .tag-red:before { background-color: #f25c48;}
.tags .tag-red,
.tags .tag-red:after,
.tags .tag-red:before { border-color: #bc4738; }
.tags .tag-red.inset { color: #8a241e; }
.tags .tag-blue,
.tags .tag-blue:before { background-color: #0b9db7;}
.tags .tag-blue,
.tags .tag-blue:after,
.tags .tag-blue:before { border-color: #087184; }
.tags .tag-blue.inset { color: #054854; }
.tags .tag-orange,
.tags .tag-orange:before { background-color: #f28f1a;}
.tags .tag-orange,
.tags .tag-orange:after,
.tags .tag-orange:before { border-color: #bb6e14; }
.tags .tag-orange.inset { color: #7e4a0d; } </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <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> <script src="js/index.js"></script>
</body>
</html>

Pure CSS3 Tags - Script Codes CSS Codes

body { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 12px; padding: 40px 0 0 0;
}
.tags { padding: 0; margin: 0;
}
.custom { width: 260px; margin: 0 auto;
}
.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%); -webkit-border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; border-radius: 0px 3px 3px 0px; -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; border: 1px solid; border-left: 0; position: relative; display: inline-block; margin: 0 15px 5px 0; padding: 0 10px; height: 25px; color: #fff; font-size: 12px; font-weight: bold; line-height: 25px; text-shadow: 0 1px 0 rgba(0,0,0,0.5); text-decoration: none;
}
.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)), color-stop(100%,rgba(0,0,0,0.1))); background-image: -webkit-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: -o-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: -ms-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: linear-gradient(-45deg, rgba(255,255,255,0.12) 0%,rgba(0,0,0,0.1) 99%,rgba(0,0,0,0.1) 100%); -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); filter: progid:DXImageTransform.Microsoft.Matrix(/* IE6–IE9 */ M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476, sizingMethod='auto expand'); zoom: 1; -webkit-box-shadow: 1px 0px 0 rgba(255,255,255,0.5) inset; -moz-box-shadow: 1px 0px 0 rgba(255,255,255,0.5) inset; box-shadow: 1px 0px 0 rgba(255,255,255,0.5) inset; content: ''; z-index: -1; position: absolute; height: 18px; width: 18px; left: -10px; top: 3px; border: 1px solid; border-right: 0; border-top: 0;
}
.tags a:after { background: #fff; border: 1px solid #888; border-radius: 5px; content: ''; position: absolute; height: 5px; width: 5px; top: 9px; left: 0;
}
.tags a:hover { background-image: -moz-linear-gradient(top, rgba(255,255,255,0.25) 0%, rgba(0,0,0,0.1) 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.25)), color-stop(100%,rgba(0,0,0,0.1))); background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: -o-linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: -ms-linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%);
}
.tags a:hover:before { background-image: -moz-linear-gradient(-45deg, rgba(255,255,255,0.25) 0%, rgba(0,0,0,0.1) 100%); background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(255,255,255,0.25)), color-stop(100%,rgba(0,0,0,0.1))); background-image: -webkit-linear-gradient(-45deg, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: -o-linear-gradient(-45deg, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: -ms-linear-gradient(-45deg, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%); background-image: linear-gradient(-45deg, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.1) 100%);
}
.tags a:active { background-image: -moz-linear-gradient(top, rgba(0,0,0,0.14) 0%, rgba(255,255,255,0.12) 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.14)), color-stop(100%,rgba(255,255,255,0.12))); background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: -o-linear-gradient(top, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: -ms-linear-gradient(top, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: linear-gradient(top, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%);
}
.tags a:active:before { background-image: -moz-linear-gradient(-45deg, rgba(0,0,0,0.14) 0%, rgba(255,255,255,0.12) 100%); background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(0,0,0,0.14)), color-stop(100%,rgba(255,255,255,0.12))); background-image: -webkit-linear-gradient(-45deg, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: -o-linear-gradient(-45deg, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: -ms-linear-gradient(-45deg, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%); background-image: linear-gradient(-45deg, rgba(0,0,0,0.14) 0%,rgba(255,255,255,0.12) 100%);
}
.tags .inset { color: rgba(0,0,0,0.5); text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
/* === Customs ========== */
.tags a,
.tags a:before { background-color: #b7b7b7;}
.tags a,
.tags a:after,
.tags a:before { border-color: #777; }
.tags a.inset { color: #454545; /* Here you can override the default rgba(0,0,0,0.5); */ }
.tags .tag-red,
.tags .tag-red:before { background-color: #f25c48;}
.tags .tag-red,
.tags .tag-red:after,
.tags .tag-red:before { border-color: #bc4738; }
.tags .tag-red.inset { color: #8a241e; }
.tags .tag-blue,
.tags .tag-blue:before { background-color: #0b9db7;}
.tags .tag-blue,
.tags .tag-blue:after,
.tags .tag-blue:before { border-color: #087184; }
.tags .tag-blue.inset { color: #054854; }
.tags .tag-orange,
.tags .tag-orange:before { background-color: #f28f1a;}
.tags .tag-orange,
.tags .tag-orange:after,
.tags .tag-orange:before { border-color: #bb6e14; }
.tags .tag-orange.inset { color: #7e4a0d; }

Pure CSS3 Tags - Script Codes JS Codes

/*! * Pure CSS3 Tags from Design it & Code it * http://designitcodeit.com/i/7 */
Pure CSS3 Tags - Script Codes
Pure CSS3 Tags - Script Codes
Home Page Home
Developer Kasper Mikiewicz
Username Idered
Uploaded November 21, 2022
Rating 3
Size 4,052 Kb
Views 14,168
Do you need developer help for Pure CSS3 Tags?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Kasper Mikiewicz (Idered) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!