Пропустить навигацию
Really cool CSS gradient border effect I recreated after seeing it on the warp website.
0:00 / 1:23

Really cool CSS gradient border effect I recreated after seeing it on the warp website.

Wes Bos

@wesbos446 тыс. подписчиков

Открыть в X
1 668 отметок «Нравится»СкачатьОригинальный пост

188 226 просмотров

Really cool CSS gradient border effect I recreated after seeing it on the warp website. Demo: Code:

10 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Geoffrey Shepard

    @GJShepard

    Woah, never seen anything like it. Cool trick, a little distracting, but has a use case somewhere

    2 отметки «Нравится»

  • Фото профиля Wes Bos

    @wesbos

    Ha def could be distracting. Use case is to make you say "Woah, never seen anything like it" 😀

    5 отметок «Нравится»

  • Фото профиля John Hooks

    @_johnhooks

    Thanks for breaking that down. It’s a really cool effect.

    1 отметка «Нравится»

  • Фото профиля Wei Su

    @0xweisu

    Thank u Wes, I’m gonna steal the green one.

    1 отметка «Нравится»

  • Фото профиля Karol Głomski ⌨ 🐍

    @glomsky

    how do I save a tweet for later?

    1 отметка «Нравится»

  • Фото профиля Hagai Bloch

    @hagaibl

    Damn, that's cool, now I will put it anywhere I can unnecessarily until my product manager yell at me.

    1 отметка «Нравится»

  • Фото профиля Lucas Nunes | Lukinh4Z

    @lukaz_n95

    @Reimanzzzzzzzz

    1 отметка «Нравится»

  • Фото профиля Tyler Freedman

    @TyFreeDesigns

    Is there a way to make this effect happen in intervals by itself? I'm fairly new to CSS

    1 отметка «Нравится»

  • Фото профиля Wes Bos

    @wesbos

    Yep, you would use a setInterval to run code every 5 seconds, and each time that runs you toggle a class of “start”

    1 отметка «Нравится»

  • Фото профиля Odii

    @devodii_

    Amazing 🔥 Trust the full version is on YouTube now, need to try this!