The most basic CSS text filter effect _css/html

Source: Internet
Author: User
Below to do an example, this is the most basic filter application, in fact, two or several different combinations of filters will get unexpected results, encounter problems themselves to try more hands on OK, of course, to pay special attention to color collocation, sometimes with a bad color is not see the effect, with the background image of the application will have a good effect.
<table border=1 style= "border-style:solid; border-width:1;font-size=12px "width=" 520 "> <tr> <td width=" 510 "> <span style=" font-size:30pt ;d Isplay:block; Text-align:center;color:blue; Filter:glow (color=red,strength=10) height:1 "> Sunshine </span></td> </tr> <tr> <td width = "510" > <span style= "Font-size:30pt;display:block; Text-align:center;color:darkblue; Filter:blur (add=t,direction=135,strength=10) height:1 "> Sunshine </span></td> </tr> <tr> &lt TD width= "510" > <p align= "Center" > All-Sun </td> </tr> <tr> <td width= "510" &G T <p align= "center" > Sunshine </td> </tr> <tr> <td width= "510" > <p align= "cent ER "> Sunshine </td> </tr> <tr> <td width=" 510 "> <span style=" Font-size:30pt;display:block ; Text-align:center;color:darkblue; Filter:wave (add=t,freq=5,lightstrength=5,phase=0,strength=5); Height:1 "> Sunshine </span></td> </tr> <tr> <td width=" 510 "> <span style=" font-size: 30pt;display:block; Text-align:center;color:darkblue; Filter:shadow (Color=blue) height:1 "> Sun </span></td> </tr> <tr> <td width=" 510 "> Sunshine </td> </tr> <tr> <td width= "510" > Sunshine </td> </tr> <tr> <t D width= "510" > <p align= "center" >SUNNY</td> </tr> <tr> <td width= "510" > <p align= "center" >SUNNY</td> </tr> <tr> <td style= "Filter:mask (color= #E1E4 EC) Shadow (color= #8C96B5, direction=135) chroma (color= #E1E4EC) "align=" Center ><b> Sunshine &LT;/B&GT;&LT;/TD > </tr> <tr> <td style= "Filter:alpha (opacity=100,finishiopacity=0,style=1) Shadow (color=blue,direction=135) "align=" Center ><b> Sunshine </b></td> </tr> <tr> <td style= "Filter:mask (color= #E1E4EC) DropShadow (color= #B4BBCF, offx=-3,offy=-3,positive= 1) chroma (color= #E1E4EC) "align=" Center ><b> Sunshine </b></td> </tr> <tr> <td Style = "Filter:glow (color= #8C96B5, strength=2) Shadow (color= #B4BBCF, direction=135)" align= "Center" ><b> Sunshine < /b></td> </tr> <tr> <td style= "Filter:mask (color= #E1E4EC) Shadow (color= #B4BBCF, direction= 135) Chroma (color= #E1E4EC) "align=" Center ><b> Sunshine </b></td> </tr> <tr> <td sty Le= "Filter:glow (strength=1) Mask (color= #B4BBCF) chroma (color= #B4BBCF)" align= "Center" height=54><b> Sunshine </b></td> </tr> <tr> <td><span style= "Position:absolute;font-size:30pt;color=blue ; Filter:fliph "> Sunshine </span></td> </tr> <tr> <td><span style= "POSITION:ABSOLUTE;LEFT:200;FONT-SIZE:30PT;COLOR=BLUE;FILTER:FLIPV" > Sunshine </span></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> All Sunshine & Lt;/b></td> </tr> </table>
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh 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.