Css3 implements image fuzzy filtering and css3 performs fuzzy filtering.

Source: Internet
Author: User

Css3 implements image fuzzy filtering and css3 performs fuzzy filtering.

Css3: blur other images after the mouse is placed. The image where the mouse is located is clear, and the current image is effectively indexed. Fuzzy processing of the image is the highlight of this special effect, you can apply the blur effect to other image effects. You can also use this code to study CSS3 Technology in HTML5.

<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN "" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <Html xmlns =" http://www.w3.org/1999/xhtml "> <Head> <meta http-equiv =" Content-Type "content =" text/html; charset = UTF-8 "/> <title> css3 image fuzzy filtering effect-ke leyi </title> <style>. keleyi img {width: 200px; height: 200px ;}. keleyi {list-style: none; margin: 10px auto; padding: 0; width: 642px;/* (200 + 10 + 4) x3 */font-size: 0; /* fix inline-block spacing */}. keleyi li {display: inline-block; * display: inline; zoom: 1; width: 200px; height: 200px; margin: 2px; Border: 5px solid # fff;-moz-box-shadow: 0 2px 2px rgba (0, 0, 0 ,. 1);-webkit-box-shadow: 0 2px 2px rgba (0, 0, 0 ,. 1); box-shadow: 0 2px 2px rgba (0, 0, 0 ,. 1);-webkit-transition: all. 3 s transition;-moz-transition: all. 3 s transition;-ms-transition: all. 3 s transition;-o-transition: all. 3 s transition; transition: all. 3 s success ;}. keleyi: hover li: not (: hover) {-webkit-filter: blur (2px) grayscale (1);-moz-filter: blur (2px) gray Scale (1);-o-filter: blur (2px) grayscale (1);-ms-filter: blur (2px) grayscale (1); filter: blur (2px) grayscale (1); opacity :. 7;/* fallback */} </style> 

  

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.