Jump to content

transition property of css3 not working


cool_techie

Recommended Posts

guys i m using chrome 11.0.696.71 doc type

 

<!DOCTYPE html PUBtdC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

 

 

 

 

<html xmlns="http://www.w3.org/1999/xhtml">

 

 

 

 

and the code

 

.nit {

position:absolute;

left:70px;

top:30px;

height:30px;

width:230px;

color:#ffffff;

text-shadow:0px 1px 1px #000000;

-ms-text-shadow:0px 1px 1px #000000;

letter-spacing:1px;

font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;

transition: width 2s;

-moz-transition: width 2s;

-webkit-transition: width 2s;

-o-transition: width 2s;

}

        where nit is class name of a div ..

this code is not working at all.

sos

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.