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 tutorials:

  1. How to Build a Simple Theme Switcher With the CSS Checkbox Hack

    How to Build a Simple Theme Switcher With the CSS Checkbox Hack

    Tutorial Intermediate

    In this tutorial, you’ll learn how to create a CSS-only theme switcher by taking advantage of the “CSS checkbox hack technique” and CSS variables.

  2. CSS Charts: How to Create a Horizontal Organizational Chart

    CSS Charts: How to Create a Horizontal Organizational Chart

    Tutorial Intermediate

    In a previous tutorial, we learned how to create a CSS-only vertical organizational chart. Today, as some folks requested, we’ll go through the process of...

  3. 30+ CSS Best Practices for Beginners

    30+ CSS Best Practices for Beginners

    Tutorial Intermediate

    CSS is a language that is used by nearly every developer at some point. While it's a language that we sometimes take for granted, it is powerful and has many...

  4. Create a Sticky Note Effect in 5 Easy Steps With CSS3 and HTML5

    Create a Sticky Note Effect in 5 Easy Steps With CSS3 and HTML5

    Tutorial Intermediate

    In this tutorial, you'll learn how to transform an HTML list into a wall of "sticky notes" that look and work like the following...

  5. Loading CSS Into WordPress With Enqueue Style

    Loading CSS Into WordPress With Enqueue Style

    Tutorial Beginner

    Without CSS, you have very limited choices to style your web pages. And without proper CSS inclusion inside WordPress, you can make it extremely hard for...

  6. Flexbox Align: When to Use Auto Margins Instead of Flexbox Center

    Flexbox Align: When to Use Auto Margins Instead of Flexbox Center

    Tutorial Intermediate

    Flexbox alignment properties are superb and they solve lots of common layout problems. However, there are times when aligning with auto margins is safer and...

  7. Uploading Files With AJAX

    Uploading Files With AJAX

    Tutorial Intermediate

    I can’t seem to reach the end of the fun stuff you can do with web technologies. Today, I’m going to show you how to upload files via AJAX. First, we'll see...

  8. 10 CSS3 Properties You Need to Be Familiar With

    10 CSS3 Properties You Need to Be Familiar With

    Tutorial Intermediate

    We've already covered the 30 CSS selectors that we should all memorize, but what about the new CSS3 properties? Though most of them still require a...

  9. Designing for Color Blindness With Chrome DevTools (in Just 4 Clicks)

    Designing for Color Blindness With Chrome DevTools (in Just 4 Clicks)

    Tutorial Beginner

    You can emulate five common types of color blindness using Chrome DevTools’ vision deficiency emulator. It’s a quick and straightforward process and can help...

  10. How to Build a Grayscale to Color Effect on Scroll (CSS & JavaScript)

    How to Build a Grayscale to Color Effect on Scroll (CSS & JavaScript)

    Tutorial Intermediate

    In this tutorial, we’ll start with some grayscale images and learn how to smoothly reveal their colored variants on scroll. To achieve the desired effect,...

  11. How to Build a Simple Toggle Switch Component With the CSS Checkbox Hack

    How to Build a Simple Toggle Switch Component With the CSS Checkbox Hack

    Tutorial Beginner

    In this short tutorial, we’ll learn how to build a CSS-only switch component by taking advantage of the “CSS checkbox hack technique”. Along the way, we'll...

  12. Quick Tip: How to Build a Simple Stack Hover Effect With CSS

    Quick Tip: How to Build a Simple Stack Hover Effect With CSS

    Tutorial Beginner

    A commonly seen design pattern is to have a card container with other cards underneath it, resulting in a multi-layer stacking effect. In this short...