Cynthia_crn
40 posts

Cynthia_crn
@Cyn__thia73
Full-stack developer specializing in ReactJS and Ruby on Rails. Passionate about front-end development and creative solutions. Based in Lyon. ✨🇫🇷
Katılım Ekim 2021
169 Takip Edilen8 Takipçiler

@ChronopostSAV @Chronopost je dépose 2 colis en relais Pickup, “non détectés” alors qu’ils sont dans les casiers, impossible de les récupérer, pas envoyés, aucune notif. Et bien sûr aucun service client le samedi, même en DM. On fait comment là ?
Français

@LeFouMalade210 @CerfiaFR On à jamais vu ces deux personnes dans la même pièce je dis ça je dis rien...

Français
Cynthia_crn retweetledi
Cynthia_crn retweetledi
Cynthia_crn retweetledi
Cynthia_crn retweetledi

CSS Tip 🤙
You can create this header effect using position: sticky, clip-path, and custom properties 🔥 (Video 👀)
header { position: sticky; top: var(--margin); }
main { clip-path: inset(var(--header) 0 0 0);) }
No mix-blend-mode or animations required ✨
What's the trick then? 🧐
Duplicate the header element first. Then fix the positioning of one behind the content.
header[aria-hidden] {
position: fixed;
top: 0;
margin-top: var(--margin);
}
Clip the top of the content to reveal the fixed header and put a sticky-positioned header inside it that matches up in position and size ✂️
:root {
--header: calc(var(--margin) + var(--font-size));
}
main {
clip-path: inset(var(--header) 0 0 0);
}
header {
position: sticky;
top: var(--margin);
}
Make your life easier with custom properties 🙌
As the body scrolls, the fixed header gets covered by the clipped content and creates the effect ✨ And because the sticky header is "stuck" it reveals itself as the content goes out of view 😍
This one's pretty cool. You can set the font color to whatever you want. At first glance, it looked like it was a mix-blend-mode thing. It doesn't have to be! Think about it and lean into z-indexing 🫶
Watch the video to get an idea of things with the exploding view 🤯
Any questions, etc. let me know! Will likely do a YouTube video on this one too! 🙏
@CodePen link below! 👇
English
Cynthia_crn retweetledi

Cynthia_crn retweetledi
Cynthia_crn retweetledi

Alternative solution could be setting up the HTML so you don't need an animation at all 😉
A combination of position: sticky and clip-path: inset() could achieve a similar effect
Couldn't resist having a go when I saw your video 🙏
codepen.io/jh3y/pen/ExMaP…
English
Cynthia_crn retweetledi

CSS Trick 🤙
You can use scroll-driven animations on the inline axis to create list animations like in these cards 🫶
article {
animation: vibe;
animation-timeline: view(inline);
animation-range: cover 40% cover 60%;
}
@keyframes vibe { 50% { scale: 1; filter: grayscale(0); }}
Here you use a view() timeline with the inline axis set inside the function. This means you can hook into the horizontal scroll position of an element inside its scroller 🙌
In this demo, you set a default smaller scale and make each card grayscale 🤏
article {
scale: 0.8;
filter: grayscale(1);
}
Then the animation happens as each card enters from the right at 0% and leaves to the left at 100% 🎞️ 50% is the halfway point and in your keyframes you make each card grow and saturate at that point before returning to its original state ✨ scroll-snap provides a nice look-and-feel here and on mobile 🫰
It's really as straightforward as that but made so much easier with a few lines of CSS 💙 For the parallax effect, you can animate a background-position on the card or the object-position on an img depending on what you go with 🤙
Lastly, you can use this today with progressive enhancement by wrapping your scroll-driven animation code in @supports and @media ⚡️ Users without support still get a decent experience!
@CodePen link below! 👇
MDS@mds
Found this old prototype I made for a thing that's been sitting dormant in dropbox for a few years. Never got published, so its memory will now live on in this tweet.
English
Cynthia_crn retweetledi

Latest work: newfolk.jp
#gsap #lottie #threejs
Direction, Design: @quagra
バケモノで株式会社NEWFOLKのコーポレートサイトをリニューアルしました。実装を担当しています。
日本語
Cynthia_crn retweetledi
Cynthia_crn retweetledi
Cynthia_crn retweetledi

Website Of The Day is ArtDunk
tinyurl.com/4kafzweh
by Duall Studio @DuallStudio
#webdesign #webdev #cssdaWOTD #CSSDesignAwards
English
Cynthia_crn retweetledi
Cynthia_crn retweetledi

Website Of The Day is Wandry agency
tinyurl.com/2kjkwpup
by Wandry
#webdesign #webdev #cssdaWOTD #CSSDesignAwards
English
Cynthia_crn retweetledi
Cynthia_crn retweetledi

Learn Design for Free Before The End of 2023:
UX → lawsofux.com
Logos → logggos.club
Colors → colorhunt.co
Fonts → fontshare.com
Illustrations → popsy.co
Inspiration → godly.website
Four more 👇
English









