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.

Networking (Tutorial-8) IEEE Standards

IEEE INTRODUCTION Institute of Electrical And Electronics professional organization for the advancement of technology related to electricity.  Formed in 1963 by the merger of IRE( Institute of Radio Engineers ) and AIEE(American Institute of Electrical Engineering)  IEEE is one of the leading standards-making organizations in the world. IEEE performs its standards making and maintaining functions through the IEEE Standards Association(IEEE-SA).  IEEE Standards The Institute of Electrical and Electronics Engineers Standards Association (IEEE-SA) is a leading developer of global industry standards in a broad-range of industries, including:  Power and Energy  Biomedical and Healthcare  Information Technology  Telecommunications  Transportation  Nanotechnology  Information Assurance  Development of IEEE Standards The IEEE standards development process can be broken down into seven basic steps, as follows: ...

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