正在加载视频...

视频加载失败

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

56,690 次观看 • 1 年前 •via X (Twitter)

11 条评论

Boyd ⚡️🧑‍💻🪄 的头像
Boyd ⚡️🧑‍💻🪄1 年前

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 的头像
Wes Bos1 年前

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

Daniel Levi 的头像
Daniel Levi1 年前

cool trick

goosewin 的头像
goosewin1 年前

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

Wes Bos 的头像
Wes Bos1 年前

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

Harjaz —— ☪︎⚔︎𑁍⚡︎ 的头像
Harjaz —— ☪︎⚔︎𑁍⚡︎1 年前

Awsome actually needed something like this

Jesse Walberg 的头像
Jesse Walberg1 年前

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

Wes Bos 的头像
Wes Bos1 年前

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

Cam → bsky.app/profile/reactionlab.com 的头像
Cam → bsky.app/profile/reactionlab.com1 年前

Yes, for an outlined font if memory serves

Gilbert Matos | Nodejs/Nextjs/C# 的头像
Gilbert Matos | Nodejs/Nextjs/C#1 年前

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

Wes Bos 的头像
Wes Bos1 年前

🥰

相关视频