Uploaded March 2026 | Updated November 2026, 3 hours ago
A look at how we can use CSS to add contextual hints to users as they fill out a form, including creating an SVG by hand and animating it based on whether a field is valid or invalid.
Starting Code: codepen.io/kevinpowell/pen/gbbZZLe/074b7bf32ac1800bc2fed27e86155d71
Finished CodePen: codepen.io/kevinpowell/pen/gbbZZge/6e29bab956be4e5d0104179a954c1f0c
CodePen for first example: codepen.io/kevinpowell/pen/ZYEjLOm
CodePen for no inheritance: codepen.io/kevinpowell/pen/WNqyPgR
MDN @property syntax: developer.mozilla.org/en-US/docs/Web/CSS/@property/syntax
Find Frontend Masters Online:
Twitter: twitter.com/FrontendMasters
LinkedIn: linkedin.com/company/frontend-masters
Facebook: facebook.com/FrontendMasters
Instagram: instagram.com/FrontendMasters
TikTok: tiktok.com/@frontendmasters
About Us:
Advance your skills with in-depth, modern front-end engineering courses — our 250+ high-quality courses and 24 curated learning paths will guide you from mid-level to senior developer! Start your path to mastery today: frontendmasters.com/?utm_source=youtube&utm_medium=home_link&utm_campaign=exlusive
A look at how we can use CSS to add contextual hints to users as they fill out a form, including creating an SVG by hand and animating it based on whether a field is valid or invalid.
Starting Code: codepen.io/kevinpowell/pen/gbbZZLe/074b7bf32ac1800bc2fed27e86155d71
Finished CodePen: codepen.io/kevinpowell/pen/gbbZZge/6e29bab956be4e5d0104179a954c1f0c
CodePen for first example: codepen.io/kevinpowell/pen/ZYEjLOm
CodePen for no inheritance: codepen.io/kevinpowell/pen/WNqyPgR
MDN @property syntax: developer.mozilla.org/en-US/docs/Web/CSS/@property/syntax
Find Frontend Masters Online:
Twitter: twitter.com/FrontendMasters
LinkedIn: linkedin.com/company/frontend-masters
Facebook: facebook.com/FrontendMasters
Instagram: instagram.com/FrontendMasters
TikTok: tiktok.com/@frontendmasters
About Us:
Advance your skills with in-depth, modern front-end engineering courses — our 250+ high-quality courses and 24 curated learning paths will guide you from mid-level to senior developer! Start your path to mastery today: frontendmasters.com/?utm_source=youtube&utm_medium=home_link&utm_campaign=exlusive










