Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
CSS from Zero to Advanced: Style a Real Portfolio
New

CSS from Zero to Advanced: Style a Real Portfolio

Add one CSS rule per lesson and turn plain HTML into a real portfolio website, from colour to Flexbox and Grid.
Created byAhmed Dini
Last updated 11/2026
English
English

What you'll learn

  • Style a real multi-page portfolio website from scratch, adding one CSS rule at a time
  • Write CSS rules with selectors, properties and values, and link one stylesheet to every page
  • Use colour, fonts, line spacing and background images, including see-through colour layers
  • Select elements with classes, ids and descendant selectors
  • Control space with the box model: padding, margin, borders, rounded corners and max-width
  • Lay out pages with Flexbox and CSS Grid, and keep a footer at the bottom of short pages
  • Make pages responsive with the viewport meta tag, media queries and flexible units such as rem, vh and clamp()
  • Add polish with CSS variables, pseudo-elements, hover and focus states and simple animations

Course content

4 sections • 65 lectures • 1h 3m total length
  • Before you write CSS5:41
  • The heading CSS will style1:21
  • Inline CSS1:10
  • Internal CSS1:08
  • External CSS1:17
  • Named colours1:21
  • Background colour1:12
  • Page typeface1:01
  • Dark colour scheme0:47
  • Comfortable line spacing1:04
  • Background image1:04
  • Background repeat0:48
  • Background size0:51
  • Background position0:47
  • Background attachment0:52
  • Background shorthand0:59
  • Transparent backgrounds1:19
  • Section 1 quiz: CSS foundations

Requirements

  • Basic HTML: you can write a page with headings, paragraphs, links, images and lists (our HTML course covers this)
  • A computer running Windows, Mac or Linux with a modern web browser
  • A free code editor installed before you start; the lectures use Visual Studio Code
  • No CSS or programming experience needed

Description

This course contains the use of artificial intelligence.

Turn plain HTML into a real, finished portfolio website, one CSS rule at a time. In about an hour you will go from a single unstyled heading to a dark, colourful, mobile-friendly site with a photo background, a sticky header, a flexible navigation bar, project cards and a contact form.

This is a project-based course. You work on one website from the first lesson to the last, and every short lesson adds exactly one new idea to the same stylesheet: a colour, a font, a background, a margin, a flex row. You save, refresh the browser and see precisely what that one rule changed, so nothing is ever a mystery.

What you will build

You style the portfolio of Amina Ahmed, a student developer in London: a Home page, an About page, a Projects page and a Contact page that share one stylesheet. The site has a dusk-photo background with a see-through pink glow, rounded shadowed cards, a circular profile photo, skill pills with logos, a project grid, a pill-shaped button that lifts when you hover over it, and a layout that stacks neatly on a phone. Then you take what you have learned and style a second site yourself: the five-page Developer profile site (Home, About, CV, Projects and Contact) from our HTML course, with a finished version to compare against.

Who is teaching you

I am Ahmed Dini, founder of Fasttrack Technology Academy, a London bootcamp that takes beginners to job-ready developers. This course teaches CSS the way we teach it to our own students: in small steps, with every rule typed live in the editor and shown straight away in the browser, and with good habits such as accessible focus rings and readable text from the very first lesson.

What you will learn, in the order you will meet it

  • Link a stylesheet and write rules: selectors, properties and values, plus inline, internal and external CSS

  • Style colour and type: hex and named colours, backgrounds, fonts, line spacing and a dark colour scheme

  • Work with background images: size, position, repeat, attachment, the shorthand and see-through colour layers

  • Target elements with classes, ids and descendant selectors, and build a header, navigation and footer

  • Master the box model: padding, margin, borders, rounded corners, outlines and readable column widths

  • Use floats, flexible units (rem, em, vh and clamp) and a sticky header

  • Lay out with Flexbox: navigation bars, rows of pills, centring and keeping a footer at the bottom

  • Build layouts with CSS Grid and make them responsive with the viewport tag and media queries

  • Polish with CSS variables, pseudo-elements, hover and focus states, :nth-child and animations

What is included

  • 64 short video lectures and a closing lecture on what to learn next, with captions

  • 4 downloadable cheat sheets, one for each section, with colour-coded cards and a clear heading structure to keep beside you while you code

  • Code downloads for every lecture: the finished site at the end of each lesson, so you can compare your own work

  • 28 practice exercises across the four sections, each with a worked solution

  • A short quiz at the end of each section, to check what you have learned

  • A colourful one-page-per-section course map showing every lecture and its key rule

  • The Developer profile site project: five pages to style yourself, plus a finished example

Who this course is for

  • Beginners who know a little HTML and want to make their pages look good

  • Aspiring developers who want a real portfolio website for their job search

  • Career changers and students who want a clear, step-by-step route into front-end development

  • Designers, marketers and writers who want to style web pages without a framework

You do not need any CSS experience. When you finish, you will be ready for the next step: the JavaScript course, which makes your styled pages interactive.

Who this course is for:

  • Beginners who know a little HTML and want to make their pages look good
  • Aspiring developers who want a real portfolio website to show employers
  • Career changers and students who need a clear first step into front-end development
  • Designers, marketers and writers who want to style web pages themselves
  • Anyone who has tried CSS before but never finished styling a complete multi-page site