Loading video...

Video Failed to Load

Go Home

Have you ever needed the CSS paint-order property? Really handy when working with text-strokes!

56,747 views • 2 years ago •via X (Twitter)

11 Comments

Boyd ⚡️🧑‍💻🪄's profile picture
Boyd ⚡️🧑‍💻🪄2 years ago

How!? How do I work with CSS every day of my life and completely miss well-supported things like this? The text-stroke property being centered rather than offset to the outside had made me write it off as useless. This completely fixes it. 🤯

Wes Bos's profile picture
Wes Bos2 years ago

Thats a great benefit I didn't even mention. Text stroke without the inset part!

Daniel Levi's profile picture
Daniel Levi2 years ago

cool trick

goosewin's profile picture
goosewin2 years ago

pretty cool; looks like they're just re-implementing svg apis in css

Wes Bos's profile picture
Wes Bos2 years ago

yeah, it's actually a non-standard CSS property that every browser supports - a bit of an odd one

Harjaz —— ☪︎⚔︎𑁍⚡︎'s profile picture
Harjaz —— ☪︎⚔︎𑁍⚡︎2 years ago

Awsome actually needed something like this

Jesse Walberg's profile picture
Jesse Walberg2 years ago

Are you just creative? How do you get inspiration for the designs you do?

Wes Bos's profile picture
Wes Bos2 years ago

Id say I'm fairly creative - always trying new things

Cam → bsky.app/profile/reactionlab.com's profile picture
Cam → bsky.app/profile/reactionlab.com2 years ago

Yes, for an outlined font if memory serves

Gilbert Matos | Nodejs/Nextjs/C#'s profile picture
Gilbert Matos | Nodejs/Nextjs/C#2 years ago

Wes, you're one hell of a chad! TY for the great content brother 🫂

Wes Bos's profile picture
Wes Bos2 years ago

🥰

Related Videos