Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

css transitions on new elements

more options

As you can see on http://stackoverflow.com/questions/12088819/css-transitions-on-new-elements I had a little problem playing with the css transitions applied on new elements (created by javascript, instead of always present in the html).

On stackoverflow I also received a solution, such as to force the reflow of the css.

While it does "run", I find it a little too much hackish: is there a better way to achieve what I need?

As you can see on http://stackoverflow.com/questions/12088819/css-transitions-on-new-elements I had a little problem playing with the css transitions applied on new elements (created by javascript, instead of always present in the html). On stackoverflow I also received a solution, such as to force the reflow of the css. While it does "run", I find it a little too much hackish: is there a better way to achieve what I need?

All Replies (1)

more options

This might not be the best forum for this question, since here we focus on end-user support. You can find more web development help on the mozillaZine Web Development board. Separate forum, separate registration.

That said, some script behaviors that bedevil developers appear to be the result of optimizations and you need to come up with hacks in order to bypass the optimizer.