Klm

455 posts

Klm banner
Klm

Klm

@klmljn

Katılım Nisan 2010
124 Takip Edilen23 Takipçiler
Klm retweetledi
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
CSS Trick 🍏 You can create that Apple-style blowout text effect with CSS scroll animations and fixed positioning ⚡️ .word { animation: blowout; animation-timeline: --section; } @​keyframes blowout { 0%, 95% { background: transparent; } to { transform: translateZ(99vh); background: #000; } } The trick here is to fix the position of some things in your layout and then animate them based on their non-fixed containers ⭐️ The .word is position: fixed within a
that has a height of 200vh section { view-timeline: --section; } section:first-of-type { height: 200vh; } Every section has a view-timeline: --section that creates a scoped ViewTimeline for each section's children 🤙 As that first section scrolls out of view, you increase its opacity and move it on the z-axis towards you. That gives it the impression of scaling up 🆙 .word { animation: blowout, fade-in; animation-timing-function: ease-in; animation-fill-mode: both; animation-timeline: --section; animation-range: exit-crossing 10% exit 0%; } You can use the exit-crossing range combined with the exit range to get a timing you like ✨ Definitely experiment with these ranges to see how they play. The timing function creates interesting effects too! At the same time as the text scales up, you need to fade in the video and the text that goes with it. Again, you can use the parent container's ViewTimeline --section p, video { animation: fade-in, fade-out; animation-timing-function: ease-in; animation-fill-mode: both; animation-timeline: --section; } p { animation-range: entry 10% entry 35%, exit 0% exit 25%; } video { animation-range: entry 0% entry 25%, exit 10% exit 35%; } The timings are slightly different here. Again, you can play with them to get something that feels right for you! @​keyframes fade-in { to { opacity: 1; }} @​keyframes fade-out { to { opacity: 0; }} Theoretically, you should be able to do something with animation-direction: reverse/alternate like yesterday's demo video { animation: fade 2 both linear alternate-reverse; } The trick with this effect is all about timing and creating containers that are bigger than the content and using them to drive the animations 🏎️ The scroll-driven signature is a bonus! ✍️ Perhaps a follow-up on that one 🤙 As always, any questions, requests, etc. Hit me up! With this demo, the GreenSock ScrollTrigger code is included where the CSS scroll-driven animations API is not supported 🙌 That means you could use this demo today! @CodePen link below! 👇
KINANyut@pukimolimampu

@jh3yy @jensmourinho @CodePen Jhey were u able to do a long layover with a scrolltriger pen for this? 😂

English
17
119
1.2K
269.8K
Klm retweetledi
Nahuel
Nahuel@DvNahuel·
Sneak peek at a doc template I've been working on.
Nahuel tweet mediaNahuel tweet mediaNahuel tweet mediaNahuel tweet media
English
17
21
421
60.1K
Klm retweetledi
nanda
nanda@nandafyi·
If you ever want your SVGs to be responsive but also keep your strokes a constant width, then you probably need: vector-effect: non-scaling-stroke With this, stroke will be measured in pixels, not user units, so it'll stay the same size regardless of how big the SVG is!
English
5
10
321
31.6K
Klm retweetledi
Nick Babich
Nick Babich@101babich·
Transition animations: a practical guide Fantastic guide that covers the principles of animated transitions. From basics like fade in and out with opacity to more complex principles like establishing spatiality. uxdesign.cc/transition-ani…
GIF
English
3
58
454
32.3K
Klm retweetledi
Erşad
Erşad@ersadwork·
Calendar Page 📅 Here's a comprehensive view of the Calendar for HR Management, showcasing all the details including cards, filters, and more ✨ w / @alignui
Erşad tweet media
English
6
11
225
17.5K
Klm retweetledi
Sarim Malik
Sarim Malik@sarimrmalik·
Introducing our latest build → cal.ai It's an open-source, AI scheduling assistant. Want to schedule a meeting? Cancel your bookings? List your meetings for the week? Just email @calcom's AI assistant. ✨ Built with @langchain + @OpenAI + @Vercel by our team @RubricLabs in partnership with @calcom.
Cal.com@calcom

We are live on @ProductHunt with the most exciting new product we've been working on: Cal.⁠ai – your personal AI Scheduling Assistant producthunt.com/posts/cal-ai

English
8
16
135
55.6K
Klm retweetledi
Dmitriy Bunin
Dmitriy Bunin@buninux·
Adding breakpoints to the website blocks in Figma. Working on an in-depth tutorial on variables🤞 #uidesign #buildinpublic
English
4
10
120
18.7K
Klm retweetledi
Kemdirịm
Kemdirịm@Kemdirim·
Imagine an interface that behaves like paper when you interact with it. (Inspired by Google and @bnj 's Sonar prototype). When you pull or scroll the UI, it expands and contracts in response. See Figma prototype below. 👇
Kemdirịm tweet media
English
4
10
165
47.2K
Klm retweetledi
Jatin Sandilya
Jatin Sandilya@jatinsandilya_·
@revertdotdev APIs gets as flexible as your CRM ⚡ I'm excited to announce the release of the Field Mapping API in @revertdotdev that allows you the engineer to go beyond the unified schema that we offered so far. THIS IS HUGE! 😮 Checkout our blog to know why! blog.revert.dev/field-mapping-…
English
1
7
28
5.1K
Klm retweetledi
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
Future CSS Tip! 🚀 You can create auto-resizing text inputs with one line of CSS 🤯 textarea { form-sizing: content; 👈 That's it! } The size of your input will grow to fit your content. If you want to constrain the size, do something like this: textarea { form-sizing: content; min-height: 2lh; max-height: 10lh; } This one's awesome. Think about how much effort it will save you 🙌 No more JavaScript to sync a textarea height to fit the content 🔥 Perfect for chat interfaces, messaging, comments, etc. 📢 @CodePen link below! 👇
English
50
480
3.7K
709.7K
Klm retweetledi
UI/UX Savior
UI/UX Savior@UiSavior·
⚡️ UI design tip Neat little trick you need to save on your long term memory, it will help ensure nested border radius look just right👌 #design #ux #uxui #uxdesign #Webdesign
UI/UX Savior tweet media
English
18
302
2.3K
164.2K
Klm retweetledi
Nabeel
Nabeel@itsnotnabeel·
Been using this for a lot for my designs and templates lately instead of starting from scratch. You can instantly create your own color palettes or select a premade one. → uicolors.app/create
GIF
English
10
59
540
45.8K
Klm retweetledi
Ludvig Rask
Ludvig Rask@ludvigrask_·
AI concept for the @medusajs DOCS 🛸👽
Ludvig Rask tweet mediaLudvig Rask tweet mediaLudvig Rask tweet media
English
3
6
91
7.5K
Klm retweetledi
Fold
Fold@foldmoney_·
This morning new updates went to our iOS and Android apps, among other things, your Most Used tags are now accessible right in the tagging pane for even quicker tagging of transactions. Read our change log here: docs.fold.money/releases (V2UCQE, FVSZSU)
English
3
1
55
13.2K
Klm retweetledi
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
Future CSS Tip! 🔮 (This one's close 🤏) You can use "subgrid" to give child elements access to a parent's grid tracks 👀 This is great when you want to make sure content lines up 🙌 Check those cards 👇 article { grid-row: span 4; display: grid; grid-template-rows: subgrid; 👈 } In this example, article uses grid but makes use of the tracks defined by the parent layout container. That makes it easier to line up content within the cards 🙏 Cool thing is, we don't even need to define the rows in the parent. We use the implicit ones from the parent. main { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) } This might be easier to understand with the video below that shows the grid tracks using DevTools and toggles subgrid on and off 🤙 @CodePen link below! 👇
English
32
359
2.6K
507.5K
Klm retweetledi
Saidul
Saidul@saidul_dev·
Why use HTML Semantic Elements? Detailed explanation with visual presentation. [ Save for later 🔖] <>
Saidul tweet media
English
52
254
1.4K
211.1K