Item Blur Effect On Hover In jQuery & CSS3

File Size:93.27 KB
Views Total:278
Last Update:April 15, 2018
Publish Date:April 15, 2018
Official Website:Go to website

we can create a simple blur effect on hover in single items.The single item in focus will scale up. Today we are showing you how to create a blur effect on hover text-based items. it can work of set of text boxes that will get blurred and scaled down once we hover over them. The item in focus will scale item highlight on hover and others all items are look like disable.

How to us :

  1. add Html l language :
    <section class="ib-container" id="ib-container">
    			<h3><a href="#">Some Headline</a></h3>
    			<span>Some other text</span>
    		<p>Some introduction</p>
    		<!-- ... -->
    	<!-- ... -->

2. Add jQuery script :

var $container	= $('#ib-container'),
	$articles	= $container.children('article'),

$articles.on( 'mouseenter', function( event ) {
	var $article	= $(this);
	clearTimeout( timeout );
	timeout = setTimeout( function() {
		if( $article.hasClass('active') ) return false;
	}, 75 );

$container.on( 'mouseleave', function( event ) {
	clearTimeout( timeout );
	$articles.removeClass('active blur');

3. Add Css style for blur effect :

<link rel="stylesheet" type="text/css" href="css/style.css" />