Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

extra detail: animate a CSS custom property from 0 to 100 on scroll and use that for a counter() label::after { content: counter(complete) '% complete'; } translate the label using container query units ✨ translate: 0 calc(var(--p) * 1cqh);

78,350 Aufrufe • vor 1 Jahr •via X (Twitter)

0 Kommentare

Keine Kommentare verfügbar

Kommentare vom Original-Post werden hier angezeigt

Ähnliche Videos

004/100 Buttons. A bit of the process on building an animation. When looking at a finished animation or in this example a finished button, it can look quite complex inside the CSS. But when building it, it’s more like a lot of simple steps, one after another. Here I had the idea to make some kind of text animation like the footer logo on the Osmo site. I try to add the base animation with no complex easing, for example transition: translate 0.4s ease. Starting with just moving the one text from bottom to top and the other text to top. Adding a stagger, play around with it. Searching for a way to make it more circular. On the research I found the sin() function inside CSS which can build a more smooth non linear curve for the stagger which creates this circular effect. And step by step adding more complexity like, different easing for hover/hover-out, opacity, 3D transform and more. I use also the sin() function to rotate the letters, so the middle ones are getting more rotated than the outer ones. Another thing which helps is to add a small delay on hover, for example 0.05s or 0.1s, you don’t really see the difference, but when you hover pretty fast on and out it doesn’t get that jumpy. I’m using here GSAP’s SplitText to split every char into spans. And then I’m adding a CSS index variable to every span, starting from the center. SplitText can provide CSS index variables, but you cannot tell it from which direction. For the sin() it’s also important to have a max length, so I add another CSS variable with the max char number on it. Crafting 100 Buttons with Osmo ⏳ Total time: 63h

Eduard Bodak

166,023 Aufrufe • vor 3 Monaten

Create premium beverage ads using Fotor Here is a link to the website: Get 50 Credits: prompt: Style: Ultra-realistic, premium commercial, vibrant colors, cinematic food advertising, soft natural sunlight, smooth camera movements, 4K, shallow depth of field, refreshing summer mood, luxury beverage commercial. Duration: 10 seconds Scene 1 (0:00–0:03) – First Impression A stylish young Western woman with long wavy blonde hair walks into a bright modern kitchen flooded with warm morning sunlight. She wears a fashionable strawberry-pink satin crop top paired with a high-waisted white pleated skirt and elegant white sneakers, giving a fresh, youthful premium lifestyle look. She smiles naturally while looking toward the camera, reaching for a chilled strawberry shake sitting on the marble kitchen counter. Dialogue (smiling): "Ready for a berry good day?" Scene 2 (0:03–0:06) – Product Hero Close-up of the condensation-covered strawberry shake bottle. Rich creamy pink shake swirls inside the transparent bottle with fresh strawberry graphics on the label. Floating strawberries, strawberry slices, milk splashes, whipped cream swirls, and tiny mint leaves orbit around the bottle in slow motion. The woman takes a satisfying sip and closes her eyes with delight. Dialogue: "Creamy... fruity... absolutely delicious." Scene 3 (0:06–0:10) – Final Hero Shot She turns toward the camera holding the bottle forward confidently. Dynamic milk splashes, fresh strawberries, sparkling droplets, and soft pink particles burst around the product while the kitchen glows with bright natural light. Camera pushes in on the label before ending on the hero product. Dialogue: "Sip the sweetness. Love every moment."

Sharon Riley

21,687 Aufrufe • vor 16 Tagen