properties
changelog

Animation Duration

Configure animation duration timing.

Usage:

  • @animate duration-*;

Reference

shilp.config.js
/** @type {import('shilpcss/types').ShilpConfig} */
const shilpConfig = {
  source: "react",

  properties: {
    animate: {
      duration: {
        property: "animation-duration: <v><i>;",
        themeKey: "time",
        values: {
          auto: "auto",
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: