Video wird geladen...
Video konnte nicht geladen werden
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
239,569 Aufrufe • vor 2 Jahren •via X (Twitter)
9 Kommentare

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

jhey ▲🐻🎈vor 2 Jahren
Haha - Thanks Masda 🤙

Pratyay Banerjee (নীল) vor 2 Jahren
Ummmm

jhey ▲🐻🎈vor 2 Jahren
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.

Marcelvor 2 Jahren
How can you make tweets so long, for me if its too long it just doesnt work.

TypeScriptGuruvor 2 Jahren
🔥🔥

Sebastianvor 2 Jahren
@artur_bien

Armin~the Vlone{tech} thugvor 2 Jahren
Wow

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