Basic CSS text filter effects
Last Update:2018-12-08
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]