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

OSI Model (Tutorial-6)

What is the OSI model ? Open Systems Interconnection model is fundamental to all communications between network devices.  Developed in 1974 by ISO after the American Department of Defence began using the TCP/IP suite of protocols.  Finally adopted in 1977. It is now the theoretical model for how communication takes place between network devices. What are the seven layers ? Layers OSI Model Layer 7  Layer 6  Layer 5  Layer 4  Layer 3  Layer 2  Layer 1