Save this video free

Form Styling (part 1) (9-4-2026) | CIS311

Kenan Casey · 42:43 · Watch on YouTube

Part of Kenan Casey: CIS 311. See all 12 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Kenan Casey builds a form-styling example using modern CSS features, including custom properties, `color-scheme`, `color-mix()`, `accent-color`, logical sizing, and `field-sizing: content`. Along the way, he styles labels and controls, improves responsive form width and spacing, and addresses practical details such as iOS input zoom and Firefox placeholder opacity.

Key takeaways

Chapters

0:00 Form Markup, Native Validation, and a Global CSS Reset
8:48 CSS Custom Properties for Brand, Danger, and Focus Colors
12:08 System Color Schemes and Perceptual `color-mix()`
21:46 Branding Native Controls with CSS `accent-color`
24:04 Form Grid Spacing and Character-Based Responsive Width
28:47 Styling Labels, Hints, and Input Control Surfaces
33:54 Placeholder Styling and Cross-Browser Form Details
38:46 Textarea Sizing with Logical Properties and `field-sizing`

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:04 Okay, I wanted to walk through some examples of styling forms, specifically highlighting some new CSS that exists now that didn't five years ago. uh and therefore I didn't cover in intro to web design. So I'm learning some new CSS as well uh specifically in the context of form design and we'll hit on some some other stuff as well. [clears throat] So let's jump in and then see what we can learn. Let's see. Would you like to

0:52 follow along? Are you follow alongers? Um, what if I were to send you these two files on Discord? Would would that work? So, this is this would be following along in order to learn. That's fair, Emily. It's fair. You're You're a Discord hater. Oh, okay. Well, then I can just make an announcement. Is that easier? Okay. If I send uh

1:42 if I send an announcement that has attachments, does it um does it download the Does it send it in the email? That's what I want to say. How dare you? Wait, sorry. This is Discord. Can I only attach one attachment? Canvas Google Classroom would not have done that to me. That's a

2:35 [clears throat] Okay. So, while that's going through, um, wanted to just let's just note the structure and what some of this markup is. Oh, did I? So we have a form that has an action and a method just like before where our method method is almost always going to be post on a form and the action is going to be the URL on the server that receives the output of this form.

3:23 Um, we've got several input elements that are surrounded by a div with a class of field that then is grouping together the label and the actual input or whatever the

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Kenan Casey.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.