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
https://forums.phpfreaks.com/topic/238177-transition-property-of-css3-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.