正在加载视频...
视频加载失败
CSS Tip! ✨ You can lean into form control state and layered backgrounds to create input status strokes 😎 input:valid { --valid: 1; } input { background: var(--bg) padding-box, ..., var(--valid-bg) calc((1 - var(--valid)) * 100cqi) 0 / 100% 100% border-box; } The trick is to layer up backgrounds... show more
9 条评论

jhey ▲🐻🎈2 年前
Here's that @CodePen link! 🚀 Should rock in all browsers 🤙

jhey ▲🐻🎈2 年前
Haha - Thanks Masda 🤙

Pratyay Banerjee (নীল) 2 年前
Ummmm

jhey ▲🐻🎈2 年前
Interestingly, that's valid. There are some funky email patterns that are valid for email. You can take it further with the "pattern" attribute if needed. Quite cool if you wanted to only accept email from certain domains, etc.

Marcel2 年前
How can you make tweets so long, for me if its too long it just doesnt work.

TypeScriptGuru2 年前
🔥🔥

Sebastian2 年前
@artur_bien

Armin~the Vlone{tech} thug2 年前
Wow

Alex Leybourne2 年前
Just when I think i’m pretty good and knowledgeable at css You somehow tech me something new almost every day 🤩
