Загрузка видео...

Не удалось загрузить видео

На главную

I built a new mesh gradient tool that can create beautiful gradients from photographs. The results are often dreamlike and capture a general vibe. I'm calling it Photo Gradient, it's free on web and soon a Figma plugin, link below

103,093 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля Daniel Destefanis
Daniel Destefanis1 год назад

Try it out at Still some bugs to fix and new features to add, a Figma plugin will come out shortly

Фото профиля Daniel Destefanis
Daniel Destefanis1 год назад

Starting to add some polish, included two new noise options, soon I’ll add more color points support and some more funky gradient options

Фото профиля Miggi from Figgi
Miggi from Figgi1 год назад

LFG 👏👏👏👏👏👏

Фото профиля brett goldstein
brett goldstein1 год назад

would be awesome as an API!

Фото профиля Howard Pinsky
Howard Pinsky1 год назад

This is beautiful!

Фото профиля Renata
Renata1 год назад

dude i was looking for something like this two days ago, you're a life saver

Фото профиля Daniel Destefanis
Daniel Destefanis1 год назад

Hell ya lmk if it does what you need

Фото профиля Joshua Guo
Joshua Guo1 год назад

Wow, dude! You keep creating these amazing tools and plugins, which save us tons of time.

Фото профиля Daniel Destefanis
Daniel Destefanis1 год назад

@JoshGuoDesign Thanks dude, I just love building stuff others get to use

Фото профиля Asia Hoe
Asia Hoe1 год назад

Thanks Daniel, can't wait to use this in Figma! I love using photos as a base for gradients.

Похожие видео

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 просмотров • 2 лет назад