<!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>jQuery+CSS3 文本模糊和突显动效</title>
<style>
article {
width: 80%;
margin: 0 auto;
}
p {
transition: all 0.2s ease;
color: rgba(0, 0, 0, 0.8);
margin-bottom: 20px;
font-size: 18px;
line-height: 24px;
-webkit-filter: blur(0);
}
p.inactive {
-webkit-filter: blur(1px);
color: rgba(0, 0, 0, 0.4);
}
</style>
</head>
<body>
<article>
<p>Techbrood is a leading search engine on cutting-edge web technologies and awesome creatives.</p>
<p>Techbrood is a leading search engine on cutting-edge technology and awesome creatives, wow is a cloudy playground.</p>
<p>Techbrood is a leading search engine on cutting-edge technology and awesome creatives, wow is a cloudy playground.</p>
<p>Techbrood is a leading search engine on cutting-edge technology and awesome creatives, wow is a cloudy playground.</p>
<p>Techbrood is a leading search engine on cutting-edge technology and awesome creatives, wow is a cloudy playground.</p>
<p>Techbrood is a leading search engine on cutting-edge technology and awesome creatives, wow is a cloudy playground.</p>
</article>
<script src="js/jquery-1.11.1.min.js"></script>
<script>
$('p').hover(function(e) {
$('p').addClass('inactive');
$(this).removeClass('inactive');
});
</script>
</body>
</html>