py-1 [&>p]:inline

Those are CSS custom properties likely used by a design system or component library to control an animation. Briefly:

  • –sd-animation: sd-fadeIn;
    • Selects a named animation preset (here, a “fade in” effect defined elsewhere, e.g., a keyframes rule or a library mapping).
  • –sd-duration: 0ms;

    • Sets the animation duration to zero milliseconds, which effectively disables visible animation (instant transition). Use a positive value (e.g., 200ms, 500ms) to make the animation visible.
  • –sd-easing: ease-in;

    • Defines the timing function controlling animation pacing; “ease-in” starts slowly and speeds up. Alternatives include linear, ease-out, ease-in-out, cubic-bezier(…) for custom curves.

Usage notes:

  • These custom properties can be referenced in CSS like animation-name: var(–sd-animation); animation-duration: var(–sd-duration); animation-timing-function: var(–sd-easing);
  • Ensure the named animation (sd-fadeIn) is defined with @keyframes or provided by the library.
  • With duration 0ms, consider also using transition-delay or setting animation-fill-mode if you need end-state persistence.

Your email address will not be published. Required fields are marked *