Loading video...

Video Failed to Load

Go Home

๐Ÿš€ 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 views โ€ข 1 year ago โ€ขvia X (Twitter)

11 Comments

Arunabh Verma's profile picture
Arunabh Verma1 year ago

@BriceZele @expo Be sure to check out Nitro Palette ๐Ÿ‘‡

drinksune's profile picture
drinksune2 years ago

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's profile picture
Arunabh Verma1 year ago

@BriceZele @expo And this cool repo as well ๐Ÿ˜Ž

Expo's profile picture
Expo1 year ago

@endlessFrontend @BriceZele Itโ€™s beautiful ๐Ÿฅน

Arunabh Verma's profile picture
Arunabh Verma1 year ago

@endlessFrontend @BriceZele Thanks a lot! ๐Ÿ˜Š

Towhid Kashem's profile picture
Towhid Kashem1 year ago

@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's profile picture
Arunabh Verma1 year ago

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

Jacob C's profile picture
Jacob C1 year ago

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

Arunabh Verma's profile picture
Arunabh Verma1 year ago

@endlessFrontend @BriceZele @expo Glad you think so! โค๏ธ

Sajjad Seyfollah's profile picture
Sajjad Seyfollah1 year ago

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

Arunabh Verma's profile picture
Arunabh Verma1 year ago

@endlessFrontend @BriceZele @expo Yes Sajjad!

Related Videos

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 views โ€ข 2 years ago