On Wednesday 2011-06-29 13:38 -0500, Mark Volkmann wrote: > I want to specify a transition for an element, but I only want it to > be used if a change is made to a property AFTER the page has loaded. > For example, > > #foo { > font-size: 24pt; > transition: all 1s linear; > -moz-transition all 1s linear; > -webkit-transition all 1s linear; > } > > I don't want the change to font-size from the default to 24pt to be animated.
This should be the way transitions work normally. Are you doing something that causes the style not to be applied until just after load? -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/