Save this video free

Form Styling (part 2) (9-9-2026) | CIS311

Kenan Casey · 23:30 · Watch on YouTube

Part of Kenan Casey: CIS 311. See all 11 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 demonstrates modern CSS techniques for styling form controls: replacing a select element’s native chevron with a positioned SVG, adjusting checkbox and radio layouts, and styling validation states. The examples use logical sizing properties, `accent-color`, `fieldset` and flexbox layout, plus `:user-invalid` and `:user-valid` to provide feedback only after interaction.

Key takeaways

Chapters

0:00 Remove the Native Select Chevron and Add a Custom SVG
5:20 Position the Select Icon and Explore Custom Picker Styling
10:54 Size and Align Checkbox and Radio Choices
19:16 Show Form Errors After Interaction with Validation Pseudo-Classes

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

Transcript excerpt

0:00 So, we're continuing on our journey into styling forms using modern CSS, and I wanted to show you a couple tricks on the select drop-down box. Um This is something we can do. We can remove the native styling of this checkbox No, this drop-down. And be in control of ourselves. And that includes uh even includes the chevron. You see this little chevron guy here? >> [clears throat] >> So, uh to do that, we write a selector called select. Um

0:47 And let's take a look at this. I'm going to say padding inline, which would be left and right. Um actually, let me just Let's see. I'm going to put put a padding of 2 rem. Okay. So, we can style the padding here. Um Wait, did we already do that? Yes. Yes. So, I already put padding, border, border radius, background color, and font size into this. I do not like that. I do not like that. Um I would like another color for the background of the boxes. I'm going to call it semi-muted.

1:37 Which is Which direction do I want to go? Uh 80% And on these guys, I would like this to not be service but semi-muted. Um no, I think I'm going to go the other direction. Hang on. Let me see what my what's 50% look like. 40%? I don't know. I think it should look different. 30%? Mhm. Okay.

2:26 Going back here to select. So we put the basic styling in before for this guy. What CSS will allow us to do is opt out of even this little chevron and we can be in control of of that as well. And to do that, you say appearance appearance colon none. And when you say appearance colon none, then you don't even have that drop down

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.