Learn CSS

Style your website and make it stand out with our CSS tutorials. From basic layouts to advanced effects and animations, we'll help you level up your design skills.

All CSS content:

  1. Easy CSS slider (carousel with pure CSS)

    Easy CSS slider (carousel with pure CSS)

    Tutorial Beginner

    A carousel is a great example of a possible CSS-only interactive feature. In this tutorial, we’ll build a carousel with a few extra features using only CSS.

  2. How to build a JavaScript page loading animation

    How to build a JavaScript page loading animation

    Tutorial Intermediate

    Previously, we learned how to create a JavaScript page loading animation with GSAP. Today, let’s make another beautiful loading animation—this time without...

  3. How to animate CSS Grid layouts (image grid project)

    How to animate CSS Grid layouts (image grid project)

    Tutorial Intermediate

    In this tutorial, we'll learn how to animate the CSS Grid properties by building a responsive image grid with hover effects.

  4. What is a modal? And how to build a CSS-only Modal

    What is a modal? And how to build a CSS-only Modal

    Tutorial Beginner

    In this tutorial, we'll use only CSS to build a pop-up or modal element that can be closed with a close button or by clicking outside the modal.

  5. CSS charts: How to create an organizational chart

    CSS charts: How to create an organizational chart

    Tutorial Intermediate

    In previous tutorials we’ve learned how to create different types of charts including bar charts, thermometer charts, and donut charts. Today we’ll continue...

  6. CSS Grid vs. Flexbox: Which should you use and when?

    CSS Grid vs. Flexbox: Which should you use and when?

    Tutorial Beginner

    CSS Grid and Flexbox might seem similar on the surface but they each offer unique features with specific use cases.

  7. How to make a custom mouse cursor with CSS or JavaScript

    How to make a custom mouse cursor with CSS or JavaScript

    Tutorial Beginner

    Personalizing a website is one of the more fun aspects of web design. In this tutorial, we’ll look at 2 methods to add a custom cursor to your website: a...

  8. Build a JavaScript Dropdown Filter Component With Shareable URLs

    Build a JavaScript Dropdown Filter Component With Shareable URLs

    Tutorial Intermediate

    In this new tutorial, we'll learn how to create a JavaScript dropdown filter component where each filtering option will have a unique shareable URL. 

  9. How to Make Line Charts in Pure CSS

    How to Make Line Charts in Pure CSS

    Tutorial Intermediate

    In this tutorial, we’ll continue our journey into the world of CSS-only charts and go through the creation of line charts.

  10. 2 Ways to Make Half-Colored Background Page Sections

    2 Ways to Make Half-Colored Background Page Sections

    Tutorial Beginner

    In this quick tutorial, you’ll learn two ways to split a page section’s background into two colors.

  11. How to Use CSS Gradients on the Web

    How to Use CSS Gradients on the Web

    Tutorial Beginner

    In this tutorial you’ll learn about using gradients on the web. I’ll give you some examples, some exercises (such as how to create gradients for borders),...

  12. Build an Interactive Image Gallery with HTML, CSS, and JavaScript

    Build an Interactive Image Gallery with HTML, CSS, and JavaScript

    Tutorial Intermediate

    Want to learn how to turn your static image gallery into an interactive one with lightbox functionality? Hang on and sit tight, cos we’re about to embark on...