ray-template/css/scroll-reveal-attPPlqS.css

2 lines
508 B
CSS

.scroll-reveal{gap:20px;display:grid}.scroll-reveal .n-card{background:var(--r-surface-muted);min-block-size:220px}.scroll-reveal__number{color:var(--r-primary-text);font-variant-numeric:tabular-nums;font-size:clamp(2rem,7vw,4rem)}@supports (animation-timeline:view()){@media (prefers-reduced-motion:no-preference){.scroll-reveal .n-card{animation:linear both reveal-example;animation-timeline:view();animation-range:entry 5% entry 85%}}}@keyframes reveal-example{0%{opacity:.35;transform:translateY(20px)}}