.box {  
        width: 300px;  
        height: 300px;  
        background: #222;  
        -webkit-transition: width 2s ease, height 2s ease;  
        -moz-transition: width 2s ease, height 2s ease;  
        -o-transition: width 2s ease, height 2s ease;  
        -ms-transition: width 2s ease, height 2s ease;  
        transition: width 2s ease, height 2s ease;  
    }  

    .box:active
{  
        width: 500px;  
        height: 500px;  
    }
 

2 Responses to transition in css3 using pseudo active

  1. jack39blog says:

    Hey dude. what kind of wordpress theme are you using? i want it to use on my blog too .

  2. Highly descriptive blog, I enjoyed that a lot. Will there be a part 2?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get all fix get all the fixes for CSS, Jquery and any web2.0 related queries
Set your Twitter account name in your settings to use the TwitterBar Section.