Create simple and good looking 3D text using Css3 Shadow | Sanwebcorner

Create simple and good looking 3D text using Css3 Shadow

This post is help you to create 3D text using pure css3 shadow property. To highlight the text we should use some heighliting method to the text  this 3d text is one of the method to highlight the customer.

This is done by only pure css3 codes. the below image shows the how the 3d text looks. You can apply this 3d shadow to the any of the fonts. here i used the Passero One google font. Below is the demo page check it out. I hope you like this example post.

Html for 3D Text using Css3:

<h1>How to create 3d text using css3 shadow </h1>
<div id="wrapper">
<h1 class="tt1"></h1>
<h1 class="tt3"></h1>
<h1 class="tt4"></h1>
<h2><a href=""></a></h2>

Css for 3D Text using Css3:

font: normal 46px/normal "Passero One", Helvetica, sans-serif;
text-shadow: 0 1px 0 #ccc,
0 2px 0 #c9c9c9,
0 3px 0 #bbb,
0 4px 0 #b9b9b9,
0 5px 0 #aaa,
0 6px 1px rgba(0,0,0,.1),
0 0 5px rgba(0,0,0,.1),
0 1px 3px rgba(0,0,0,.3),
0 3px 5px rgba(0,0,0,.2),
0 5px 10px rgba(0,0,0,.25),
0 10px 10px rgba(0,0,0,.2),
0 20px 20px rgba(0,0,0,.15);

color: rgba(169,214,169,1);
font: normal 46px/normal "Passero One", Helvetica, sans-serif;
text-shadow:  0 1px 0 rgba(255,255,255,1) ,
0 2px 0 rgba(255,255,255,1) , 
0 3px 0 rgba(255,255,255,1) , 
0 4px 0 rgba(255,255,255,1) , 
0 5px 0 rgba(255,255,255,1) , 
0 6px 1px rgba(0,0,0,0.0980392) , 
0 0 5px rgba(0,0,0,0.0980392) , 
0 1px 3px rgba(0,0,0,0.298039) , 
0 3px 5px rgba(0,0,0,0.2) , 
0 -5px 10px rgba(0,0,0,0.247059) , 
0 -7px 10px rgba(0,0,0,0.2) , 
0 -15px 20px rgba(0,0,0,0.14902) ;


font: normal 46px/normal "Passero One", Helvetica, sans-serif;
-1px 1px 0 #ddd,
-2px 2px 0 #c8c8c8,
-3px 3px 0 #ccc,
-4px 4px 0 #b8b8b8,
-4px 4px 0 #bbb,
0px 1px 1px rgba(0,0,0,.4),
0px 2px 2px rgba(0,0,0,.3),
-1px 3px 3px rgba(0,0,0,.2),
-1px 5px 5px rgba(0,0,0,.1),
-2px 8px 8px rgba(0,0,0,.1),
-2px 13px 13px rgba(0,0,0,.1);


Post a comment


360 degree view product image 3d rotate 3d text 3step-form Accordion menu ajax All Browsers Animated Background Gradient animation audio controller auto complete Best accordion menu bootstrap Bootstrap form validation border bounce effect on hover Breadcrumb calculate age by dob calendar Captcha change image on mouse move color chooser countdown Counter on scroll create random number Css css animation css buttons css hover css3 customized upload Button Date picker delete data from table Different scroll speed donation form download zip email otp verification email verifier Embed eventlist Expanding Menu feedbck form flash news section close button full screen menu Google custom search Google Maps Google reCAPTCHA Google site search gradient heart animation hide menu Horizontal News ticker Hover Htm Html html dropdown html form html form validation html5 html5 form validation Iframe image hover increment decrement textbox value based on select box Javascript javascript validation Jquery jquery validation js Layered image effect on mouse hover lock & unlock page scroll marquee marquee with close button mobile number validation mobile otp login Multi-level-drop-down-menu multi-level-form multi-select-checkbox Multi-Step-form Multiple File Upload in PHP mysql News ticker on hover change text to image our team page password generator password strength checker paypal form paypal html form Photoshop PHP php mailer populate html selectbox Popup image on click the link pure css Question type form random number generate Random password Redirect page Based on the select box while submit the form responsive responsive menu responsive popup box Responsive Vertical Time line design rotate image selectbox based on select box simple coming soon page simple countdown based on end date simple typing effect slider sliding tab sms otp login statistic counter on scroll switch tag shape team member Time picker toggle toggle view transparent button underline animation up down slide validation vertical fixed sidebar Webtips whatsapp link website Whislist Youtube