Skip to main content

Item Blur Effects Using Css And Jquery

This tutorial is all about advancement of css and jquery combinaion.Blur effects can be easily embedded into webpages. It looks awesome. You just have to embedd your css and jquery file and with Html code you can perform this.Jquery helps in smoothness of the whole operation. Here is a download link you can refer to that link. Css defines the looks of the page and blurness is defined in the jquery part. It depends on user how much blurness is required.
Blur class is added into jquery and this single class is behind this superb tutorial.

Download From Here

Screen Shot:


Jquery Code:



$(function() {
    
    var $container = $('#ib-container'),
     $articles = $container.children('article'),
     timeout;
    
    $articles.on( 'mouseenter', function( event ) {
      
     var $article = $(this);
     clearTimeout( timeout );
     timeout = setTimeout( function() {
      
      if( $article.hasClass('active') ) return false;
      
      $articles.not( $article.removeClass('blur').addClass('active') )
         .removeClass('active')
         .addClass('blur');
      
     }, 65 );
     
    });
    
    $container.on( 'mouseleave', function( event ) {
     
     clearTimeout( timeout );
     $articles.removeClass('active blur');
     
    });
   
   });

CSS Code:


This code contains the bluring effects of items and their opacity. Have a look at it.
.ib-container article.blur{
 box-shadow: 0px 0px 20px 10px rgba(255,255,255,1);
 -webkit-transform: scale(0.9);
 -moz-transform: scale(0.9);
 -o-transform: scale(0.9);
 -ms-transform: scale(0.9);
 transform: scale(0.9);
 opacity: 0.7;
}
.ib-container article.blur h3 a{
 text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
 color: rgba(0, 0, 0, 0);
 opacity: 0.5;
}
.ib-container article.blur header span{
 text-shadow: 0px 0px 10px rgba(255, 210, 82, 0.9);
 color: rgba(255, 210, 82, 0);
 opacity: 0.5;
}
.ib-container article.blur  p{
 text-shadow: 0px 0px 10px rgba(51, 51, 51, 0.9);
 color: rgba(51, 51, 51, 0);
 opacity: 0.5;
}

/* Hover Style for single item: scale up */
.ib-container article.active{
 -webkit-transform: scale(1.05);
 -moz-transform: scale(1.05);
 -o-transform: scale(1.05);
 -ms-transform: scale(1.05);
 transform: scale(1.05);
 box-shadow: 
  0px 0px 0px 10px rgba(255,255,255,1), 
  1px 11px 15px 10px rgba(0,0,0,0.4);
 z-index: 100; 
 opacity: 1;
}
Hope you will like this post.
source codrops

Comments

  1. It's a great article to show or generate a blur item effects in any web page. Interesting stuff to learn by web designers. One of the best articles which enhanced my web design skills.

    ReplyDelete

Post a Comment

your Comment is sent for moderation, Thankyou

Popular posts from this blog

Network Topologies (Tutorial-4)

Topology refers to the way in which the network of computers is connected. The choice of topology is dependent upon--- Type and number of equipment being used  Planned applications and rate of data transfers  Required response times  Cost Types of Network Topologies Physical Topology: Physical topology defines how devices are connected to the network through the actual cables that transmit data(physical structure of the network)  Logical Topology: Logical Topology (also referred to as Signal Topology) is a network computing term used to describe the arrangement of devices on a network and how they communicate with one another.

Cisco Hierarchical Model

Cisco Hierarchical Model Defined by Cisco to simplify the design, implementation, and maintenance of responsive, scalable, reliable, and cost-effective networks. The 3 layers are logical and not physical – there may be many devices in a single layer, or a single device may perform the functions of 2 layers, eg: core and distribution. The Cisco Hierarchical Model

Windows 7 transformation pack for xp

As the windows 7 launched after that there are lot of screenshot available on the internet, There developer designed the transformation packs for xp to make it better lo0king like windows 7. There are some transformation packs for your xp. Download Vienna 2.5 – Windows 7 Transformation Pack (Mirror) Downloa d HFN Windows 7 Transformation Pack Download Windows 7 Transformation pack – NSFormation (Mirror) Download Vienna Transformation Pack v1