Wednesday, March 27, 2019

Re: Migrating a css file into gwt uibinder

I never figured out how to add the @keyframes in the GWT resources.  As a workaround, you can add the CSS like you would a standard site.  Eg, in your index.html like this:
<style type="text/css">
@keyframes fadeIn {
0% { opacity: 0 }
100% { opacity: 1 }

Then in your ui.xml, you can just refer to it as normal.  Eg:
<div style="animation: fadeIn 1.5s linear;">blah</div>

Not an idea solution.  If anyone knows how to add @
keyframes to the resources, that would be very helpful.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment