Those look like CSS custom properties plus a utility-like shorthand for an animation. Brief breakdown:
- -sd-animation: sd-fadeIn;
- Likely a custom (vendor/namespace) property used by a framework to select a predefined animation named “sd-fadeIn”.
- –sd-duration: 0ms;
- A CSS custom property setting the animation duration to 0 milliseconds (instant; no visible animation).
- –sd-easing: ease-in;
- A CSS custom property setting the timing function to ease-in (speeds up at the end).
Notes and practical effects:
- With duration 0ms, the easing value has no visible effect because there’s no time over which to interpolate.
- If you want a visible fade-in, set –sd-duration to a positive time (e.g., 300ms) and ensure the sd-fadeIn animation uses opacity and/or transform.
- Example (how sd-fadeIn might be implemented):
@keyframes sd-fadeIn {from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); }} .element { animation-name: sd-fadeIn; animation-duration: var(–sd-duration, 300ms); animation-timing-function: var(–sd-easing, ease); animation-fill-mode: both;}
Leave a Reply