Skip to content

How to add CSS animations with CSS Writer

Since the release of our new free Sketch plugin for Marcode, App Builder, it has never ever been easier to build real code prototypes, or simple apps, straight from inside Sketch app.

Let me show you how easy it is to add a custom CSS animation using our CSS Writer plugin for Sketch.

  1. Find a nice animation library, we’re going to use this one today.
  2. Find a enjoyable animation, I’m really fond of the Blur animations.
  1. Try out the animations by pressing the Play button on each one. You can also change the duration. When you found one you like, just copy the code to clipboard.

  1. Open Sketch and our CSS Writer plugin.
  2. Select the artboard you want to add your animation, we choose Start.
  3. Paste the animation into CSS Writer and make sure to Save inside the plugin, that big blue button needs to be pressed or nothing will get added.

     

  4. Select the component you would like to add your CSS animation into. Open App Builder plugin and add blur-in to the CSS Classnames field.

     

  5. Open up Marcode and link to the very same Sketch file you are building with. A rapid way of reloading the animations is to switch between the Design and HTML view icons up in the top-right corner of Marcode.
  6. Voilà, you are done!

Marcode for Mac bundle

Now that you have learned how easy it is to use our new plugins for Marcode and Sketch, we have a very nice bundle where you get CSS Writer 100% for free.

Neato.

Leave a Reply

Your email address will not be published.

%d bloggers like this: