Skip navigation
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

@wesbos446K followers

Visit on X
1,668 likesDownloadOriginal post

188,226 views

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

10 Comments

Comments from the original post on X (Twitter)

  • Geoffrey Shepard's profile picture

    @GJShepard

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

    2 likes

  • Wes Bos's profile picture

    @wesbos

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

    5 likes

  • John Hooks's profile picture

    @_johnhooks

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

    1 like

  • Wei Su's profile picture

    @0xweisu

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

    1 like

  • Karol Głomski ⌨ 🐍's profile picture

    @glomsky

    how do I save a tweet for later?

    1 like

  • Hagai Bloch's profile picture

    @hagaibl

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

    1 like

  • Lucas Nunes | Lukinh4Z's profile picture

    @lukaz_n95

    @Reimanzzzzzzzz

    1 like

  • Tyler Freedman's profile picture

    @TyFreeDesigns

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

    1 like

  • Wes Bos's profile picture

    @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 like

  • Odii's profile picture

    @devodii_

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