← Frontend path
// Frontend path · Step 02 · <css>
CSS
Layout, colour and type that adapts to any screen.
// what you'll learn
- →The box model and cascade
- →Flexbox and Grid layouts
- →Responsive design with media queries
- →Custom properties
// why it matters
Shipping responsive layouts is the most common intern task on real teams.
// project ideas to build
Business card
beginnerStyle a card with spacing, colours and a custom font.
Responsive landing page
intermediateA layout that changes cleanly from phone to desktop using Grid.
Project ideas written by LEARN. Build them on the canvas or in your own repo.
// every lesson in the course
0/40
- 01Welcome ↗An evergreen CSS course and reference to level up your web styling expertise.lesson + test
- 02Box model ↗Everything displayed by CSS is a box. Understanding how the CSS Box Model works is therefore a core foundation of CSS.lesson + test
- 03Selectors ↗To apply CSS to an element you need to select it. CSS provides you with a number of different ways to do this, and you can explore them in this module.lesson + test
- 04Nesting ↗Nesting CSS style rules can make your stylesheets more organized, easier to read, and more maintainable.lesson + test
- 05The cascade ↗Sometimes two or more competing CSS rules could apply to an element. In this module find out how the browser chooses which to use, and how to control this seleclesson + test
- 06Specificity ↗This module takes a deeper look at specificity, a key part of the cascade.lesson + test
- 07Inheritance ↗Some CSS properties inherit if you don't specify a value for them. Find out how this works, and how to use it to your advantage in this module.lesson + test
- 08Color ↗There are several different ways to specify color in CSS. In this module we take a look at the most commonly used color values.lesson + test
- 09Sizing ↗In this module find out how to size elements using CSS, working with the flexible medium of the web.lesson + test
- 10Layout ↗An overview of the various layout methods you have to choose from when building a component or page layout.lesson + test
- 11Flexbox ↗Flexbox is a layout mechanism designed for laying out groups of items in one dimension. Learn how to use it in this module.lesson + test
- 12Grid ↗CSS Grid Layout provides a two dimensional layout system, controlling layout in rows and columns. In this module discover everything grid has to offer.lesson + test
- 13Logical properties ↗Logical, flow relative properties and values are linked to the flow of text, rather than the physical shape of the screen. Learn how to take advantage of this nlesson + test
- 14Custom properties ↗Custom properties, or CSS variables, allow you to organize and reuse values in your CSS, so that your styles are more flexible and easier to understand.lesson + test
- 15Spacing ↗Find out how to select the best method of spacing elements, taking into consideration the layout method you are using and component that you need to build.lesson + test
- 16Pseudo elements ↗A pseudo-element is like adding or targeting an extra element without having to add more HTML. They have a variety of roles and you can learn about them in thislesson + test
- 17Pseudo classes ↗Pseudo-classes let you apply CSS based on state changes. This means that your design can react to user input such as an invalid email address.lesson + test
- 18Borders ↗A border provides a frame for your boxes. In this module find out how to change the size, style and color of borders using CSS.lesson + test
- 19Shadows ↗There are a number of ways to add shadows to text and elements in CSS. In this module you'll learn how to use each option, and the tasks they were designed for.lesson + test
- 20Focus ↗Understand the importance of focus in your web applications. You'll find out how to manage focus, and how to make sure the path through your page works for peoplesson + test
- 21Cursors and pointers ↗The cursor is an essential way for your users to know what they are interacting with. In this module, learn how you can style cursors in specific circumstances.lesson + test
- 22Z index ↗In this module find out how to control the order in which things layer on top of each other, by using z-index and the stacking context.lesson + test
- 23Anchor positioning ↗CSS anchor positioning provides a way to declaratively position an element relative to another element.lesson + test
- 24Popover and dialog ↗A popover is any element with a popover attribute, and is useful for a wide range of interactive patterns, including tooltips, alerts, toasts and more.lesson + test
- 25Functions ↗CSS has a range of inbuilt functions. In this module you will find out about some of the key functions, and how to use them.lesson + test
- 26Paths shapes clipping masking ↗Paths, shapes, clipping, and masking give developers the ability to render complex shapes in CSS through a variety of functions that can create memorable experilesson + test
- 27Gradients ↗In this module you will find out how to use the various types of gradients available in CSS. Gradients can be used to create a whole host of useful effects, witlesson + test
- 28Animations ↗Animation is a great way to highlight interactive elements, and add interest and fun to your designs. In this module find out how to add and control animation elesson + test
- 29Filters ↗Filters in CSS mean that you can apply effects you might only think possible in a graphics application. In this module, you can discover what is available.lesson + test
- 30Blend modes ↗Create compositional effects by mixing two or more layers, and learn how to isolate an image with a white background in this module on blend modes.lesson + test
- 31Lists ↗A list, structurally, is composed of a list container element filled with list items. In this module, you'll learn how to style all the parts of a list.lesson + test
- 32Counters ↗CSS provides several ways to control the counters in a list for different use cases. In this module, you'll learn how to control the counters in a list.lesson + test
- 33Transitions ↗In this module, learn how to define transitions between states of an element. Use transitions to improve user experience by providing visual feedback to user inlesson + test
- 34View transitions spas ↗View Transitions give you a way to show continuity or context between the pages in your SPA.lesson + test
- 35Overflow ↗Overflow is how you deal with content that doesn't fit in a set parent size. In this module, you'll think outside the box, and learn how to style overflowing colesson + test
- 36Backgrounds ↗In this module learn the ways you can style backgrounds of boxes using CSS.lesson + test
- 37Typography ↗In this module, learn how to style text on the web.lesson + test
- 38Container queries ↗Unlike media queries, container queries allow you to make more specific adjustments to elements based on the size and state of their ancestors, or containers.lesson + test
- 39Conclusion ↗Further resources to help you take your next steps.lesson + test
- 40Quiz ↗Take a quiz, earn a badge. Correctly answer CSS questions to earn your Learn CSS badge.lesson + test
Original lessons by web.dev. Course content belongs to its creators.