CSS filter Example (filter) with source code (static filter)

Source: Internet
Author: User
Tags image flip

<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312 "> <br/> <style type =" text/css "> body {margin: 0px; padding: 0px ;} </p> <p> table {font-size: 12px; border: 1px solid # 0000FF ;}</p> <p> tr, td {padding: 0px; border: 1px solid # 0000FF ;} </p> </style> <p> <strong> filter visual filter type </strong> </p> <table> <tr> <td width = "80"> Alpha (transparency) </td> <td width = "80"> Blur (Fuzzy) </td> <td width = "80"> Chroma (specify color transparency) </Td> <td width = "80"> DropShadow (opaque shadow) </td> <td width = "80"> FlipH & FlipV (FLIP) </td> <td width = "80"> Glow (edge halo) </td> <td width = "80"> Gray (color removal) </td> <td width = "80"> Invert (negative effect) </td> <td width = "80"> Mask (photo masking effect) </td> <td width = "80"> filter: Shadow </td> <td width = "80"> Wave) </td> <td width = "80"> Xray (highlighted outline) </td> </tr> <td height = "140"> </td> <td> </td> <td> </Td> </tr> </table> <p> <strong> Alpha: </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> opacity): 100 <br/> finishopacity: 0 <br/> Start position (startX, startY) :() <br/> end position (finishX, finishY) (200) </td> <td width = ""> opacity: 70 <br/> finishopacity ): 20 <br/> Start position (startX, startY) :( 0, 0) <br/> end position (finishX, finishY) :( 50,50) </td> </tr> <td> </td> </Td> </tr> </table> <p> <strong> Blur: </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> display the original image, and blur 20px in the direction of 270 degrees </td> <td width = "200"> do not display the original image, fuzzy 20 Px in 90 degrees </td> </tr> <td> </td> </tr> </table> <p> <strong> Chroma </strong> </p> <table> <tr> <td width = "200"> original image </ td> <td width = "200"> color of the font specified by Chroma (I am CCHXP) transparent </td> </tr> </table> <p> <strong> DropShadow </stro Ng> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> set the shadow color to light green, move 5 Px to the right, move 5 PX down, and the shadow is not transparent. </Td> <td width = "200"> set the shadow color to pink, move 5 Px to the left, move 5 PX up, and the shadow is opaque. </Td> </tr> </table> <p> <strong> FlipH & FlipV </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> set FlipH for horizontal image flip </td> <td width = "200"> set FlipV for vertical image flip </td> </tr> <td> </td> </tr> </table> <p> <strong> Glow </strong> </ p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> set the halo color to yellow, the intensity is 10. </td> <td width = "200"> set the color of the image HALO to red, strength: 20 </td> </tr> </table> <p> <strong> Gray </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> remove the image color, to achieve Gray effect </td> </tr> </table> <p> <strong> Invert </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> set the image color to negative effect </td> </tr> </table> <p> <strong> Mask </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200 "> set the screen color to Blue </td> </tr> </td>/ table> <p> <strong> Shadow </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> set the image shadow color to green, to 225 degrees </td> <td width = "200"> set the image shadow color to red, 135-degree direction </td> </tr> <td> </tr> </table> <p> <strong> Wave </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> the original image is not displayed, there are 5 waves whose amplitude is 20 pixels, the light intensity is 30, and the initial position of the wave is 50 </td> <td width = "200"> display the original image, there are three waves whose amplitude is 50 pixels, and their light intensity is 50, the starting position of the wave is 100. </td> </tr> <td> </tr> </table> <p> <strong> Xray </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> X-ray effect </td> </tr> <td> </tr> </table> <p> <strong> Gray & Invert & Xray comparison </strong> </p> <table> <tr> <td width = "200"> original image </td> <td width = "200"> Gray effect </td> <td width = "200"> Invert effect </td> <td width = "200"> Xray effect </td> </tr> <td> </ td> </tr> </table> <p>
Related Article

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.