Building Better Form Input Defaults

JavaScript / Web 4.9K צפיות 02/08/2022
פתח ב-YouTube

דרג סרטון זה

התחבר כדי לדרג

תיאור

HTML form inputs are ugly—the small font size, non-body font, weird focus border banding, harsh outline, etc. With a custom design system, however, we can quickly scaffold out a much better experience with custom focus states, floating labels, and scalable typography and spacing—all themed and sensitive to user preferences. 🔗 Key Links 🔗 - CodePen: https://codepen.io/Coding-in-Public/pen/yLKpvgb --------------------------------------- 📹 Related Videos 📹 - Building a Better Custom Default: https://www.youtube.com/watch?v=0HvkYqkIjY4 --------------------------------------- ⏲️ Timestamps ⏲️ 0:00 Introduction 1:51 Form HTML 6:29 CSS Theming and Setup 18:38 Form CSS 31:30 Miscellaneous improvements --------------------------------------- 🌐 Connect With Me 🌐 - Website: https://codinginpublic.dev - Blog: https://chrispennington.blog - Twitter: https://twitter.com/cpenned - Patreon: https://www.patreon.com/coding_in_public

#Coding in Public