How do I create shadows using style sheets?

How do I create shadows using style sheets? cover image
  1. Home
  2. CSS
  3. How do I create shadows using style sheets?

Internet Explorer displays several text effects through style sheets. Here I’ll show you how to create a shadow for a piece of text.

The shadow is made using the filter rule through which we specify the color value. The height and the width rules are important too.
This style can be placed inside the HTML head section, to be called using the CLASS attribute of a <DIV> or <SPAN> tags or the style can be used as an inline style.

Note: These style sheet commands do not work in Netscape 4.7.

The Shadow Filter

The shadow style sheet

       {height:50;
        width:400;
        font-size:20pt;
        font-weight:bold;
        filter:shadow(Color=#009966)}
CSS HTML