HTML and CSS Reference
In-Depth Information
Finally, some Modernizr fallbacks are added to allow older browsers to make
some use of the form:
.no-cssgradients #front,.no-cssgradients #back {
: ;
}
.no-cssanimations form {
: ;
}
.no-csstransforms h1 {
: ;
}
.no-csstransforms .extended-info {
: ;
}
I'm certainly not expecting you to know JavaScript just to use CSS. If you don't
understand this code, pass it to your friendly JavaScript developer and collabo-
rate on it. He or she can probably do a much better job of this than I have. In any
case, it's worth exploring such techniques because it's cool to be able to handle
the animation with CSS rather than having to write it all in JavaScript. Even if you
use jQuery or a similar library, it is still a lot of weight to add to the page just for a
couple of simple animations.
 
Search WWH ::




Custom Search