Basic CSS text filter effects

Source: Internet
Author: User

Here is an example. These are the most basic filter applications. In fact, the combination of two or more filters will produce unexpected results. If you have any problems, try it first, of course, you must pay special attention to the color combination. Sometimes the effect cannot be seen if the color is not good, and the application that works with the background image will also have a good effect. <Br/> <table border = "1" style = "border-style: solid; border-width: 1; font-size = 12px "width =" 520 "> <tr> <td width =" 510 "> text-align: center; color: blue; <br/> filter: glow (color = red, strength = 10); height: 1 "> sunshine all the way </td> </tr> <td width =" 510 "> text-align: center; color: darkblue; <br/> filter: blur (add = t, direction = 135, strength = 10); height: 1 "> sunshine all the way </td> </tr> <td width =" 510 "> filter: progid: DXImageTransform. microsoft. motionblur (strength = 30, add = 1, direction = 135) "> <p align =" center "> sunshine all the way </p> </td> </tr> <td width =" 510 "> font-family: impact; font-size: 30pt; color: navy; display: block; <br/> filter: progid: DXImageTransform.Microsoft.wav e (Strength = 3) "> <p align =" center "> sunshine all the way </p> </td> </tr> <td width =" 510 "> font-family: impact; font-size: 30pt; color: navy; display: block; <br/> filter: progid: DXImageTransform.Microsoft.wav e (Strength = 3, freq = 5) "> <p align =" center "> sunshine all the way </p> </td> </tr> <td width =" 510 "> text-align: center; color: darkblue; <br/> filter: wave (add = t, freq = 5, lightstrength = 5, phase = 0, strength = 5 ); <br/> height: 1 "> sunshine all the way </td> </tr> <td width =" 510 "> text-align: center; color: darkblue; <br/> filter: shadow (color = blue); height: 1 "> sunshine all the way </td> </tr> <td width =" 510 "> filter: dropshadow (color = maroon, positive = 1 ); "> sunshine all the way </td> </tr> <td width =" 510 "> filter: dropshadow (color = maroon, positive = 0 ); "> sunshine all the way </td> </tr> <td width =" 510 "> height: 1; font-size: 20pt; font-family: impact; background-color: blue "> <p align =" center "> SUNNY </p> </td> </tr> <td width =" 510 "> height: 1; font-family: impact; font-size: 20pt; background-color: blue "> <p align =" center "> SUNNY </p> </td> </tr> <td style =" FILTER: mask (color = # E1E4EC) shadow (color = #8C96B5, direction = 135) chroma (color = # E1E4EC) "align =" center "> <B> all sunshine </B> </td> </tr> <td style =" FILTER: alpha (opacity = 100, finishiopacity = 0, style = 1) shadow (color = blue, direction = 135) "align =" center "> <B> all sunshine </B> </td> </tr> <td style =" FILTER: mask (color = # E1E4EC) dropshadow (color = # B4BBCF, offx =-3, offy =-3, positive = 1) chroma (color = # E1E4EC) "align =" center "> <B> all sunshine </B> </td> </tr> <td style =" FILTER: glow (color = #8C96B5, strength = 2) shadow (color = # B4BBCF, direction = 135) "align =" center "> <B> all sunshine </B> </td> </tr> <td style =" FILTER: mask (color = # E1E4EC) shadow (color = # B4BBCF, direction = 135) chroma (color = # E1E4EC) "align =" center "> <B> all sunshine </B> </td> </tr> <td style =" FILTER: glow (strength = 1) mask (color = # B4BBCF) chroma (color = # B4BBCF) "align =" center "height =" 54 "> <B> all sunshine </B> </td> </tr> <td> all sunshine </td> </tr> <td> sunshine all the way </td> </tr> </table> <table align = "center" background = "http://www.idc2008.com/468X60-8.gif" border =" 0 "> <tr> <td style =" FILTER: glow (strength = 4) mask (color = # E1E4EC) "> <B> sunshine all the way </B> </td> </tr> </table> <p>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.