
Learn how CSS, or cascading style sheets, styles HTML elements, controls positioning, color, size, and more, and apply internal, external, or inline styles.
Set up your CSS workflow by installing a coding editor and a web browser, using Visual Studio Code and Google Chrome to write CSS rules and view changes.
Apply internal, external, and inline css to html using the style tag, link tag, and inline style attributes, with live server updates and examples for p elements.
Explore CSS selector types, including element type, descendant, child, id, class, universal, general and adjacent sibling, and pseudo selectors and pseudo elements, with practical examples and order notes.
Explore the main CSS selector types, including universal, element, descendant, child, id, class, and sibling selectors. Learn about pseudo selectors and pseudo elements with practical examples.
Explore how specificity in CSS decides which rule wins when multiple selectors target the same element, using the calculation: ID 100, class 10, element 1, and inline style 1000.
Learn how CSS specificity decides which styles apply, comparing element, class, id, and inline selectors, and why prefer classes over ids and inline styles.
Learn to apply fonts in CSS by setting font-family to Arial with Helvetica as a fallback, and adjust font-weight, font-style, and font-size.
Explore the CSS box model, including content, padding, border, and margin, with shorthand properties and the box-sizing distinction between content-box and border-box to control element width and height.
Learn the css box model and box sizing to control element dimensions with width, height, padding, margin, and border, including content-box versus border-box and margin collapse.
Explore how to define colors in CSS using named colors, hex, rgb, and hsl, and learn to implement each approach in CSS.
Learn how to apply colors in CSS using named, hex, RGB, and HSL methods, targeting elements to display red and compare values.
Explore how CSS position types—static, relative, absolute, fixed, and sticky—affect layout, offsets, and overlapping with practical examples of top, left, width, height, and viewport references.
Explore how the CSS float property positions elements to the left or right, how floats interact with the document flow, and that the float is ignored when position is absolute.
Demonstrates floats in CSS, comparing float left with absolute positioning and how floated boxes interact with text. Also covers nth-child spacing to separate elements.
Explore how the CSS display property works, comparing common values like inline, block, and none. Analyze the differences between these display values and their effects on page layout using CSS.
Explore the CSS display property by demonstrating inline, inline-block, block, and none with spans, links, and divs; apply padding, margins, background colors, and text color to visualize behavior.
Explore CSS units, from absolute lengths like px to relative units such as em, rem, percentage, vh, and vw, and learn how each is defined in CSS.
Demonstrate absolute and relative CSS units, showing how 12px font size and 2rem scale to 32px and 64px, and how 100%, 50%, 300px, vw, and vh shape layouts.
This course is created and taught by the instructor. AI tools were used in a limited capacity to help refine certain lecture articles used in this course. All explanations, concepts and teaching are original and based on the instructor’s own understanding and experience.
This course is designed for complete beginners who want to learn how to style their web pages using CSS the language that controls the look and feel of websites.
You’ll get a clear, beginner-friendly introduction to how CSS works, how styles are applied, and how to control the layout, color, and appearance of your HTML elements.
This course is focused on helping you build a solid foundation in CSS fundamentals. Each concept is paired with a simple, focused example to show you exactly how it works in practice.
If you're looking to build full web pages or layouts, this course gives you the essential knowledge you'll need and prepares you to move on to more advanced layout techniques.
Here’s what you’ll learn:
Types of CSS – Learn the differences between inline, internal, and external CSS and when to use each.
CSS selectors – Discover how to target HTML elements using element, class, ID, and attribute selectors
CSS specificity – Understand how CSS rules are prioritized and what happens when styles conflict
Fonts and colors – Learn how to define fonts, text styles, and apply color in multiple formats
The CSS box model – Understand how margin, border, padding, and content work together
Box sizing – See how the box-sizing property affects layout
Positioning – Get familiar with static, relative, absolute, fixed, and sticky positioning
Floats – Understand how floating elements behave and how to manage them
Display property – Learn how to control element behavior with values like block, inline, and inline-block
CSS units – Explore px, em, rem, % more effectively
Media queries – Introduction to responsive design by applying styles for different screen sizes
By the end of this course, you’ll have a strong, practical understanding of core CSS concepts. You’ll be ready to style your own HTML pages and better equipped to take on projects that involve more advanced layout techniques.
Start learning today and build the CSS foundation that will support all your future web development skills without feeling overwhelmed.