Basic CSS text filter effects _ CSS/HTML

Source: Internet
Author: User
The following is an example of the most basic CSS text filter effects. These are the most basic filter applications. In fact, the combination of two or more different filters will produce unexpected results, if you encounter any problems, you can try it on your own. Of course, you must pay special attention to the color combination. Sometimes you cannot see the effect if you use a poor color. The background image can also be used with a good effect.

<Table border = 1 style = "border-style: solid; border-width: 1; font-size = 12px "width =" 520 "> <tr> <td width =" 510 "> sunshine all the way </td> </tr> <td width = "510"> sunshine all the way </td> </tr> <td width = "510"> <p style = "color: red; font-size: 25pt; height: 1; display: block; filter: progid: DXImageTransform. microsoft. motionblur (strength = 30, add = 1, direction = 135) "> <p align =" center "> sunshine all the way </p> </td> </tr> <td width =" 510 "> <p style =" height: 1; width: 100%; font-family: impact; font-size: 30pt; color: navy; display: block; filter: progid: DXImageTransform.Microsoft.wav e (Strength = 3) "> <p align =" center "> sunshine all the way </p> </td> </tr> <td width =" 510 "> <p style =" height: 1; width: 100%; font-family: impact; font-size: 30pt; color: navy; display: block; filter: progid: DXImageTransform.Microsoft.wav e (Strength = 3, freq = 5) "> <p align =" center "> sunshine all the way </p> </td> </tr> <td width =" 510 "> sunshine all the way </td> </tr> <td width = "510"> sunshine all the way </td> </tr> <td width = "510"> <p align = "center" style = "height: 1; font-size: 30pt; filter: dropshadow (color = maroon, positive = 1 ); "> sunshine all the way </p> </td> </tr> <td width =" 510 "> <p align =" center "style =" height: 1; font-size: 30pt; filter: dropshadow (color = maroon, positive = 0 ); "> sunshine all the way </p> </td> </tr> <td width =" 510 "> <p style =" filter: progid: DXImageTransform. microsoft. engrave (bias = 0.5); height: 1; font-size: 20pt; font-family: impact; background-color: blue "> <p align =" center "> SUNNY </p> </td> </tr> <td width =" 510 "> <p style =" filter: progid: DXImageTransform. microsoft. emboss (bias = 0.5); 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> one way sunshine </B> </td> </tr> <td> one way 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>
[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.