PSD-HTML. These Pixel perfect HTML pages will be tested on Chrome, Firefox, IE, Safari on OS X and Windows Imajine will help you create your own fan page in facebook with an eye appealing graphic banner for its welcome page Custom CMS theme building weboranje.com - showcase of inspirational web 2.0 websites
CSS3 Tutorial on Text Embossing

Final output

INSET EFFECT
IN CHROME
INSET EFFECT IN EXPLORER

There are various ways through which we can enhance the look of our text. One of these, is giving emboss effect to our text as it gives depth to it. With this effect it does not remain the same regular monotonous stuff in terms of its appearance. This effect is also referred to as'inset' effect.(The fireworks tutorial for the same can be viewed at http://www.imajine.in/tutorials/fireworks/inset.aspx.

We are using a trick to get this effect. The emboss / inset effect is all about color combinations given to background, text and shadow. The thumb rule to get this effect is, giving -

  • text-color a shade darker to background
  • Shadow color a shade lighter to background.

This effect can be given by making use of the text-shadow (supported by google chrome users) property and Filters (supported by Internet Explorer browsers) in CSS.

Syntax used (the below syntax works only in google chrome) :

.text-emboss
{
text-shadow: 0px 1px 0px #444444;
}

We tried obtaining the above effect in IE by giving 'FILTER' style to text, but the finishing is not as good as the one we obtained for chrome. We also have a separate tutorial for glow effect, which can be viewed at http://www.imajine.in/tutorials/css/textglow.aspx

FILTER syntax used for IE is given below:

.text-glow
{
 FILTER: Glow(Color=#00CCFF, Strength=1);
}

I hope this tutorial is of some help to you.

Tags: CSS3 text emboss style, CSS3 text inset style

Bookmark and Share
HI, AM JAY, AND I IMAJINE
I am a freelance web designer and web application developer with over 7 years of result oriented experience. I am accustomed to working in a dynamic and goal oriented client environment. My strengths include the ability to visualize, personalize and create a truly unique and enthralling web presence. My passion apart from web design, logo design, Flash animation / actionscripting, CMS Customization, print and web development includes photography, game programming, tutorial development (includes Adobe Flash, Adobe Fireworks and Adobe Photoshop) and blogging.
Read more about me...
CONTACT US
Name :  
Email Address :  
 
Comments :
 
jayanthi.varma@imajine.in  |  © 2008 - 2012 Imajine.