CSS3 New Style on Over with Photoshop

CSS3 is good style sheet for design website, if you know more about it. you will can design whatever you want. now i would like to show you about new style CSS3 using on over style with text shadows, outlines, transitions, and even text gradients, we can now create cool typography that you’d swear had to be made with a program like Photoshop. Nope, all CSS3 baby! Let’s take a look in this video quick tip.

Code Sample CSS3

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="utf-8">
 <title>Subtle Typography</title>

 <style>
 body {
 background: #666;
 padding: 1em;
 }

 h1 {
 position: relative;
 font-size: 200px;
 margin-top: 0;
 font-family: 'Myriad-Pro', 'Myriad', helvetica, arial, sans-serif;
 text-shadow: 2px 3px 3px #292929;
 letter-spacing: -7px;
 -webkit-text-stroke: 1px white;

 }

 h1 a {
 text-decoration: none;
 color: #ffffff;
 position: absolute;

 -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), color-stop(50%, rgba(0,0,0,0)), to(rgba(0,0,0,1)));
 text-shadow: 0 2px 0 #e9e9e9;
 -webkit-transition: all .3s;
 -moz-transition: all .3s;
 transition: all .3s;
 }

 h1 a:hover {
 color: #185a50;
 }

 h1:after {
 color: #dbdbdb;
 content : attr(data-title);
 }

 </style>
</head>
<body>
 <h1 data-title="Hello Readers"> <a href="#"> Hello Readers </a> </h1>
</body>
</html>

Result example

Download Sample Sample CSS3 (252)

Related Articles

CSS3 Text Animation Tutorial

CSS3 animation has become more popular in instead of flash. So in this tutorial, we will show you aweone example CSS3 text animation to help to read more

Written by Graham Bill

Graham Bill has been a professional web developer and designer with more experience on coding HTML5, CSS3, php, javascript, jquery, ajax, jsp, XML, MySQL, SEO and especially on development joomla templates and wordpress themes.

Feedback Leave a comment

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>