02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School

Playing with CSS Selectors

In this chapter we will explore selectors deeper and we will learn how to select items in HTML.

Duration: 26:03

Created with

Ben Fhala

Ben Fhala

Ben Fhala is the creative force and founder behind 02geek, a pioneering platform dedicated to making web development accessible to everyone. With over 18 years of experience in the industry, Ben has a deep passion for teaching and a knack for breaking down complex concepts into easy-to-understand lessons.

Playing with CSS Selectors Overview

What you'll learn

In chapter one we created and set up our first HTML document that is leaning on CSS. In this chapter we will explore this subject deeper and we will learn how to select items in HTML by understanding the three most common ways to define CSS rules: IDs, classes and elements.

Taking a deeper look into the CSS selector rule

By the end of this lecture, you will know how to define rules for HTML elements.

05:06

Introducing CSS Classes

By the end of this lesson, you will know how to create CSS classes and you will know how to use them.

03:46

Talking to HTML items with IDs

By the end of this lesson, you will know how to define ids to html elements and how to implement styles for them.

04:56

Travelling through a document with CSS rules

In this lecture, we will learn how to travel through the HTML document and define more specific rules by combining everything we learnt so far.

04:12

Defining a few items at the same time

By the end of this lecture you will know how to define rules for multiple CSS selector rules at the same time.

02:29

Best practices when it comes to CSS rules

We will spend some time talking about how you can build your code more effectively to make it easier for the browser to process your pages.

05:35
Download Source Files