CSS Filters On Images

來源:互聯網
上載者:User
Alpha:

Gray:

Invert:

Xray:

Normal:

 

CODE:

Alpha: 

<div style="filter: alpha(opacity=20)"><img src="http://images.cnblogs.com/cnblogs_com/SkySoot/373350/r_lang.gif" /> </div>

Gray: 

<div style="filter: gray()"><img src="http://images.cnblogs.com/cnblogs_com/SkySoot/373350/r_lang.gif" /> </div>

Invert: 

<div style="filter: invert()"><img src="http://images.cnblogs.com/cnblogs_com/SkySoot/373350/r_lang.gif" /> </div>

Xray: 

<div style="filter: xray()"><img src="http://images.cnblogs.com/cnblogs_com/SkySoot/373350/r_lang.gif"/> </div>

Normal:

<div src="http://images.cnblogs.com/cnblogs_com/SkySoot/373350/r_lang.gif"/></div>

相關文章

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.