These look like custom CSS properties (CSS variables) used by a design/animation system. Breakdown:
- -sd-animation: sd-fadeIn;
- Likely a control flag naming which predefined animation to apply (here: “sd-fadeIn” = fade-in animation).
- –sd-duration: 0ms;
- A CSS custom property setting the animation duration. “0ms” means the animation will run instantly (no visible transition).
- –sd-easing: ease-in;
- A CSS custom property defining the timing function (acceleration curve). “ease-in” starts slowly then speeds up.
How they might be used in CSS:
.element {animation-name: var(-sd-animation); animation-duration: var(–sd-duration); animation-timing-function: var(–sd-easing);}
Notes:
- The leading dash vs double-dash: standard CSS custom properties must start with two dashes (e.g., –sd-duration). A single-dash name like -sd-animation is nonstandard for custom properties and could be a regular property or part of a framework that maps it to something else.
- With duration 0ms, easing has no visible effect.
- To enable a visible fade-in, set duration >0 (e.g., 300ms) and ensure the animation keyframes for sd-fadeIn exist:
@keyframes sd-fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); }}
Leave a Reply