Free CSS Basics Course: Style a Page with Selectors and the Box Model

HTML gives a page its structure, but CSS lets you decide how that structure appears. A heading can become easier to distinguish, a content box can gain breathing room, and a background can help separate one section from another. This free introduction presents those decisions through short lessons on selectors, dimensions, spacing, backgrounds, fonts, and floats, followed by a small page-building recap.

Original Free CSS Basics Course cover showing a stylized webpage with nested spacing layers and a braces tile, credited to Gilad Tsur Mayer.
Free learning access

Listed as Free on Udemy when checked on 8 November 2026. No coupon or subscription trial is required for the listed lessons. Enrollment needs a Udemy account; availability can change.

About this course

HTML gives a page its structure, but CSS lets you decide how that structure appears. A heading can become easier to distinguish, a content box can gain breathing room, and a background can help separate one section from another. This free introduction presents those decisions through short lessons on selectors, dimensions, spacing, backgrounds, fonts, and floats, followed by a small page-building recap.

Gilad Tsur Mayer teaches the English-language course for people who already know basic HTML. Its three sections contain 20 timed entries totaling approximately 41 minutes. That makes it a compact starting point or refresher, especially if you recognize HTML elements but need a clearer connection between a style rule and its visible result. It is an introduction to selected CSS fundamentals, not a complete modern frontend development program.

Official course CSS : CSS Awesomeness
Created by Gilad Tsur Mayer
Platform Udemy
Language English
Level Beginner
Listed duration 42 minutes; 20 lectures across 3 sections
Completion terms Not included with a new free enrollment

What you’ll learn

Explore why CSS is used, how a page is prepared for styling, and how selectors identify the elements that receive a rule. Work through IDs and classes, width and height, backgrounds, the box model, floats, and basic font styling. Finish by bringing several properties together in a page demonstration and considering how to continue practicing after the introductory lessons.

Skills you’ll gain

  • CSS rule targeting
  • ID and class selectors
  • Width and height styling
  • Box model reasoning
  • Background and font styling
  • Float-based layout reading

Connect a rule to the element it changes

The first section introduces CSS, explains the prerequisites, and prepares the working environment. The teaching then moves into selectors and the distinction between IDs and classes. This progression helps you ask a useful question before changing a property: which part of the page should receive this style, and which parts should remain unaffected?

A project lesson invites you to choose something to style. Keep that first project small enough to understand without a framework or a large collection of files. A heading, a few paragraphs, and two simple content sections can give you plenty to investigate. The aim is to recognize how one rule affects the page, rather than to collect declarations whose purpose you cannot explain.

Understand the space around your content

The course introduces width and height before moving through backgrounds and the box model. These topics belong together because an element’s visible size involves more than its text alone. Padding creates space between the content and border; margin provides space outside the border. Confusing these roles can make a page difficult to adjust even when every declaration is syntactically valid.

When experimenting beyond the lesson, check the element’s box-sizing value. With content-box, declared width describes the content area, and horizontal padding and borders add to the rendered box width. With border-box, padding and borders are included in that declared width, while margins remain outside it. This distinction is useful reading context for your own practice, not a claim about an additional lesson in the syllabus.

Read the layout techniques in context

Floats receive their own lesson, alongside brief introductions to fonts and selector techniques. Learning to recognize float-based code can help you understand older stylesheets and the way content interacts around floated elements. It should not be confused with a full course in Flexbox, CSS Grid, responsive design, or accessible interface construction; those subjects need their own focused study and implementation checks.

The recording was last updated in January 2018. Use the core vocabulary as a foundation while allowing for differences in editor screens and present-day practice. The closing demonstration combines CSS properties into a page, but the public descriptions do not identify a specific finished business site or a production template. Approach it as a learning example you can examine, not as a ready-made website to publish unchanged.

Turn the short lessons into deliberate practice

As an independent exercise, create a simple reading card with a title and two paragraphs. Apply a class to the card, then change only one feature at a time: its background, padding, border, or width. Before each edit, write a sentence predicting the result. Compare the rendered page with your prediction, and use the browser’s box-model inspection tools when the dimensions surprise you.

This practice suggestion is separate from the course’s advertised article, property reference, and quiz-like entries. Their unseen contents are not described here, and no community response or certificate is promised. The value of this short course is the opportunity to establish a small, understandable CSS vocabulary that you can keep applying to progressively more demanding pages.

Compare sizing models: MDN explains content-box and border-box. Inspect the box model: MDN introduces box layers and developer tools.

Enroll Now ↗

Related courses for your next step

  • Build a different layout techniqueFree CSS Grid Course

    Study tracks and areas in the CSS Grid module as a later topic beyond this CSS introduction.

    Beginner

  • Describe simple graphics in codeFree SVG Basics Course

    Explore shapes, text and links as a separate web graphics topic.

    Beginner

Frequently asked questions

Is the course free and in English?

The public listing currently shows Free access and English instruction. Optional services for publishing your own pages are separate from watching the lessons.

Must I know HTML before starting?

Yes. Basic HTML is an explicit prerequisite. The course concentrates on styling and assumes you can recognize the elements being styled.

Does it cover all current CSS layout systems?

No. It is a compact fundamentals course with floats among its topics. Use separate material for deeper Flexbox, Grid, responsive design, and accessibility work.

Share this course

Learner reviews

Tell other learners what you actually tried. Reviews are moderated and may come from learners who have started or completed the course.

No published learner reviews yet.

Sign in to write a review

Questions still belong in the discussion below. Review and ranking rules.

Questions & discussion

Share a useful question or correction. Comments appear after moderation. Please avoid personal or sensitive information.

Add to the discussion

Keep comments relevant and respectful. Spam, adult content, and adult-site names or links are not allowed. All visitor comments are reviewed before publication.

Your email address will not be published. Required fields are marked *