Skip navigation
🔥 Fixing Twitter's border-radius problem.
0:00 / 0:40

🔥 Fixing Twitter's border-radius problem.

Wes Bos

@wesbos448K followers

Visit on X
1,358 likesDownloadOriginal post

176,075 views

🔥 Fixing Twitter's border-radius problem. Get perfect border radius with: outerRadius = innerRadius + spaceBetween

10 Comments

Comments from the original post on X (Twitter)

  • Jen Gentleman 🌺's profile picture

    @JenMsft

    Oh god, why did you show me this - now I can't unsee it

    12 likes

  • Kyle Rummens's profile picture

    @KyleRummens

    Whenever I see small issues like this on large sites, it gives me confident that I could probably get paid to make the same mistake

    8 likes

  • Kyle TechSquidTV's profile picture

    @TechSquidTV

    Excellent 👏

    2 likes

  • dcbuilder.eth ⚪️'s profile picture

    @DCbuild3r

    @realGeorgeHotz while you are still an intern

    1 like

  • Jeremy Brayton's profile picture

    @w0rddriven

    I'm starting to wonder if Twitter isn't doing this to crowdsource work for free. You deserve at least 6 months of blue to pay for your time. Though in all seriousness, thank you.

    1 like

  • Cormac Quaid's profile picture

    @CormacQuaid

    satisfaction: 12/10

    1 like

  • Cyrus Zei's profile picture

    @cyrus_zei

    well, glad I am not the only one that is fixing annoying stuffs and then send them an email on how to fix it with the code... right? right ?

    1 like

  • Tyler Hervey's profile picture

    @Tydoo711

    what a Bos

    1 like

  • Bil Dye's profile picture

    @willdye

    Extremely unpopular opinion: I kinda liked the line variation and corner emphasis in the original. Perfect lines often seem too mechanical to me. (Goes back to coding APL programs in Comic Sans)

    1 like

  • Kris Van Houten's profile picture

    @krivaten

    I learned about this by having a very detail-oriented boss who pointed this out to me a few times in my design implementations. It was a fun little challenge to write a fix for.

    1 like