Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

🚀 Just built this cool carousel! - Background gradient by DevL∞p's Nitro Palette - Gradient blur inspired by Brice Zele's React Native Gradient Blur And yes, Expo is the backbone making it all possible Had to try it out. Here it is! 🙌

13,326 görüntüleme • 1 yıl önce •via X (Twitter)

11 Yorum

Arunabh Verma profil fotoğrafı
Arunabh Verma1 yıl önce

@BriceZele @expo Be sure to check out Nitro Palette 👇

drinksune profil fotoğrafı
drinksune2 yıl önce

Absolutely in love with the review from @xzeldawaifux 😍 She’s rocking it in our ambassador program and earning up to 20% commission on every sale! 💰🎉 Wanna join the fun? Sign up for FREE at 🌟 Drop your unique promo code in the comments 📢💫

Arunabh Verma profil fotoğrafı
Arunabh Verma1 yıl önce

@BriceZele @expo And this cool repo as well 😎

Expo profil fotoğrafı
Expo1 yıl önce

@endlessFrontend @BriceZele It’s beautiful 🥹

Arunabh Verma profil fotoğrafı
Arunabh Verma1 yıl önce

@endlessFrontend @BriceZele Thanks a lot! 😊

Towhid Kashem profil fotoğrafı
Towhid Kashem1 yıl önce

@endlessFrontend @BriceZele @expo I usually use expo linear gradient package with react-native-easing-gradient package to blend images towards the bottom. Going to try the gradient blur method you posted and see how that compares!

Arunabh Verma profil fotoğrafı
Arunabh Verma1 yıl önce

@endlessFrontend @BriceZele @expo Sure! Do checkout, I just found out about it while I was working and it turns out awesome! 🚀

Jacob C profil fotoğrafı
Jacob C1 yıl önce

@endlessFrontend @BriceZele @expo Very cool! Looks amazing!

Arunabh Verma profil fotoğrafı
Arunabh Verma1 yıl önce

@endlessFrontend @BriceZele @expo Glad you think so! ❤️

Sajjad Seyfollah profil fotoğrafı
Sajjad Seyfollah1 yıl önce

@endlessFrontend @BriceZele @expo Does it work on Android?

Arunabh Verma profil fotoğrafı
Arunabh Verma1 yıl önce

@endlessFrontend @BriceZele @expo Yes Sajjad!

Benzer Videolar

CSS Trick! 🤙 You can create gradient borders on translucent elements using mask-clip and mask-composite with a pseudo-element 🔥 .gradient-border::after { mask-clip: padding-box, border-box; mask-composite: intersect; mask: linear-gradient(transparent, transparent), linear-gradient(white, white); } It's the same "Transparent border trick" from before. But, now you apply it to a pseudo-element 😎 The trick is to create a pseudo-element with a gradient background and then mask it so we only see the part we want, the border ✨ mask-clip defines the area affected by a mask. Similar to how you can define background-size. Using padding-box and border-box constrains the two masks. mask-composite is the magic part ✨ It defines a compositing operation for stacked mask layers. Using intersect means that the parts that overlap get replaced. And this seems to work in all browsers 🙌 As for the rest of the styles... – Make sure you set pointer-events: none on the pseudo-element – Make sure it fills the parent element. You can use position: absolute and inset: 0 – Make sure the background fills the space including the border-width. You can use calc to achieve that: --bg-size: calc(100% + (2px * var(--border))); background: var(--gradient) center center / var(--bg-size) var(--bg-size); That's it! 🚀 Gradient borders on translucent elements. You can set all the backdrop-filter: blur() you like! 😅 CodePen.IO link below! 👇

jhey ʕ•ᴥ•ʔ

269,739 görüntüleme • 2 yıl önce