
Welcome to the Treehouse Library
This is a sample catalog of all the courses we offer. Browse by topic or difficulty. Sign up today and get access to our entire library. Treehouse students get access to workshops, bonus content, conferences, and more.
Ready to start learning?
Treehouse offers a 7 day free trial for new students. Get access to 1000s of hours of content. Learn to code, land your dream job.
Start Your Free Trial- Newest
-
All Topics
- All Topics
- • AI
- • JavaScript
- • Databases
- • Python
- • Design
- • React
- • HTML
- • CSS
- • Data Analysis
- • Java
- • C#
- • Android
- • Computer Science
- • PHP
- • Quality Assurance
- • APIs
- • Security
- • Digital Literacy
- • Development Tools
- • Business
- • 21st Century Skills
- • Ruby
- • Machine Learning
- • Learning Resources
- • Go Language
- • Equity, Diversity, and Inclusion (EDI)
CSS
Cascading Style Sheets (CSS) forms the presentational layer of web pages. CSS allows you to apply visual styling to HTML elements with colors, fonts, layouts, and more.
-
37 minWorkshop
CSS-Only Facebook Reactions UI - Treehouse Live
Most social media platforms allow users to interact with other usersβ posts. Letting users use an emoji to show how they feel about them is a fun way to add some interactivity to your project or app. Follow along as Dustin reveals how to recreate the Facebook reactions UI with just CSS!
Viewed -
10 minWorkshop
Animated Hamburger Menu
Want to set up a hamburger menu for your mobile navigation with a slick animation? It's not as hard as you may think. Follow along while I tackle this small UX feature!
Viewed -
2 minWorkshop
Shorten Text With CSS
Ever wondered how to shorten text with an ellipsis (...)? Itβs quite easy to do and only requires a few lines of CSS. Follow along as I take you through setting this up!
Viewed -
4 minWorkshop
Dark Mode in CSS
How often do you find yourself on a website or app looking for a toggle for dark mode? Most apps nowadays, like Facebook, Twitter, Instagram, & Snapchat just to name a few, use some sort of dark mode feature. Implementing this is actually pretty quick and simple. There are many ways to go about this but the method I prefer is using CSS variables. Follow along and Iβll show you how I tackle this feature.
Viewed -
6 minPractice
Practice the CSS Box Model
In this practice session, weβll be working with the CSS Box Model.
Viewed -
10 minPractice
Practice Enhancing Design with CSS
In this practice session, weβll be practicing enhancing a web layout with CSS.
Viewed -
8 minPractice
Practice CSS Media Queries
In this practice session, weβll be working with CSS Media Queries.
Viewed -
8 minPractice
Practice CSS Length Units
In this practice session, weβll be working with CSS Length Units.
Viewed -
- 1
Mobile-First CSS Layout
In this course, you'll get hands-on practice using CSS layout techniques such as a CSS Reset with Normalize, a layout wrapper, a sticky footer, and centered content with a full-width header. In addition, you'll learn principles that will help you approach your next project with a mobile-first mindset.
-
- 1
- 2
- 3
- 4
Enhancing Design with CSS
In this course, we're going to learn CSS properties for enhancing visual design. Weβll cover various properties for styling text, including loading web fonts from external resources. Weβll learn techniques for turning our CSS boxes into more than just rectangles. And finally, weβll learn some really cool visual effects using CSS filters and gradients.
-
- 1
- 2
- 3
- 4
CSS Layout
In this course, we're going to learn techniques for better control over our CSS layouts. Weβll cover how the CSS Box Model impacts the presentation of each HTML element, learn to control the position of each element onscreen, and even begin to adjust our layouts for different screen sizes and environments.
-
- 1
- 2
- 3
- 4
CSS Basics
In this course, we're going to learn the basics of CSS, one of the core technologies for designing and building websites and applications. No matter what kind of website or web application you want to build, you'll have to use CSS. If you haven't written much CSS, or even if youβve never written CSS at all, donβt worry. That's what this course is for. Weβll start with basic CSS concepts, then gradually progress to more advanced topics and lessons.
-
5 minWorkshop
Process Sass with Scout-App
Learn one of the quickest and easiest ways to set up and use Sass in your front-end web development projects, with Scout-App.
Viewed -
37 minWorkshop
Using CSS Variables
Learn how to use native CSS variables to make your stylesheets less repetitive, easier to maintain and more.
Viewed -
- 1
- 2
- 3
- 4
Bootstrap Basics
Learn to build with Bootstrap, one of the most popular open source front end frameworks, to help you build a functional design and layout in little time.
-
5 minPractice
Practice CSS Grid: Columns, Rows and Gaps
Practice declaring row and column tracks, as well as applying gutters between them.
Viewed -
6 minPractice
Practice Flexible CSS Grid Layout
Practice using CSS Grid features that adapt your content to available space and intelligently size and position items within the grid container.
Viewed -
8 minPractice
Practice Grid Template Areas
Let's practice using grid template areas, a feature of CSS Grid that lets you assign named grid areas to items, and use those names to position items on the grid.
Viewed -
- 1
- 2
- 3
CSS Grid Layout
CSS Grid Layout provides a built-in, more efficient way of designing grid-based layouts in the browser. It brings a new set of properties, functions and flexible units that let you control the exact placement and sizing of grid components.
-
35 minWorkshop
Debugging CSS with Chrome DevTools
In this workshop, we'll explore the most useful and efficient tool for debugging CSS: Chrome Developer Tools.
Viewed -
- 1
- 2
- 3
- 4
Sass Basics
Sass is a stylesheet language that extends CSS with features like variables, nested rules, mixins, and functions, in a CSS-compatible syntax. In this course, you'll learn to use the powers of Sass to boost your front end workflow. The examples will teach you why you should use Sass in your projects. By the end, you will be writing more efficient CSS using code that is easy to read and maintain.
-
7 minPractice
Practice CSS Box Model Basics
Practice working with the core components of the CSS box model.
Viewed -
6 minPractice
Practice CSS Floats
Practice laying out a web page and wrapping text around elements, with CSS floats.
Viewed -
5 minPractice
Practice Media Queries
Practice writing CSS media queries by adjusting the layout of a simple web page.
Viewed -
5 minPractice
Practice CSS Selectors
Practice basic CSS selectors by targeting and styling elements of a web page.
Viewed -
49 minWorkshop
Introduction to PostCSS
Learn PostCSS, a popular CSS processing tool for styling your websites and applications.
Viewed -
- 1
- 2
- 3
- 4
CSS Transitions and Transforms
CSS transitions and transforms can create simple animations that enhance user interactions in websites and apps. In this course, you'll build an interactive image gallery using CSS transitions and transforms. You'll use transition properties to define durations, delays, and easing functions. Then, you'll learn how to rotate, scale, and move elements in 2D and 3D space, with CSS transforms.
-
- 1
- 2
- 3
CSS Flexbox Layout
Flexbox is a set of CSS properties that give you a flexible way to lay out content. With flexbox you can change the direction, alignment, size and order of elements, regardless of their original size and order in the HTML. You can even stretch and shrink elements and distribute space, all with just a few lines of CSS!
-
21 minWorkshop
The CSS calc() Function
The CSS calc() function performs a calculation and returns a result. calc() allows mathematical expressions that add β+β, subtract β-β, multiply β*β, and divide values β/β. In this workshop, you'll learn three useful ways to use calc() in your projects.
Viewed -
22 minWorkshop
Build a Responsive Navigation with Flexbox
Learn how to build a responsive website navigation, using CSS media queries and flexbox layout.
Viewed -
- 1
- 2
Animating SVG with CSS
SVG (Scalable Vector Graphics) also supports interactivity and animation, so you can animate and interact with SVG like you're able to do with HTML. This short course covers the most common methods for animating SVG: CSS transitions, transforms, and keyframe animations.
-
14 minWorkshop
Create Tooltips with CSS
Tooltips are a great way to provide additional information to your users. This pure CSS technique that we are about to learn employs both pseudo-elements and custom data- attributes.
Viewed -
16 minWorkshop
Create a Fullscreen Slider with CSS
Learn to create a full-screen, horizontal slider using pure CSS. Image carousels have been a popular design pattern for many years and there are hundreds of jQuery plugins out there to create them. This workshop will demonstrate that HTML and CSS are more than capable of handling the task.
Viewed -
8 minWorkshop
Create an Accordion Menu with CSS
Learn to create a content accordion menu with CSS. Content accordions are great for when space is limited and you have a lot of content that you want to present in a cleaner fashion.
Viewed -
8 minWorkshop
Create a Modal Window with CSS
Learn how to create a popular UI design pattern, the modal window, with CSS. Although usually built with JavaScript, CSS can provide fallbacks and replacements for many of the JavaScript interactions.
Viewed -
12 minWorkshop
CSS Clipping Paths
In this workshop, you will learn about an advanced CSS feature called clipping paths.
Viewed -
8 minWorkshop
CSS Masks
In this workshop, we're going to cover an exciting CSS design effect: Masks.
Viewed -
14 minWorkshop
CSS Blend Modes
In this workshop, Guil covers how to use blend modes, an exciting CSS feature that resembles a tool you'd normally find in your favorite graphics editor.
Viewed -
- 1
- 2
- 3
CSS to Sass
If you're not sure where to begin when converting CSS over to Sass, this is the place to start. In this course, you'll learn how to convert a simple web project over to Sass (http://sass-lang.com/), the most widely used CSS preprocessor. This course aims to clear up common misconceptions about Sass, and help you fit Sass into your front-end workflow.
-
- 1
- 2
- 3
Responsive Layouts
Responsive web design is a collection of techniques for building websites that work on multiple screen sizes. In these lessons, we're going to use the foundational principles of responsive design as a framework for thinking about page layout. By the end, you should have a better understanding of how to approach common decisions in responsive design.
-
- 1
- 2
- 3
CSS Selectors
In this short course, we're going to go beyond the basic selector concepts covered in CSS Basics. Besides the common ways to select elements with type, ID and class selectors, we're able to target elements based on their attributes, position in the HTML document, even their relation to other elements. By the end of this course, you'll have gained a better understanding of the power and flexibility behind CSS selectors. You'll have a new set of valuable tools in your CSS toolkit to use on your next project.
-
- 1
- 2
- 3
- 4
- 5
Modular CSS with Sass
Todayβs websites and applications are larger than ever and a lot hinges on the CSS architecture. CSS that is poorly thought-out can be a strain on development and maintenance in the long run. In this course, we're going to build a UI toolkit using many of the best practices and principles of modular CSS architecture. We'll learn how a modular approach with Sass can boost our workflow and cut down maintenance by reducing the amount of code we write. It can also improve how our code scales because we're able to reuse it on other parts of our project.
-
- 1
Treehouse Club: CSS
In this project, you will learn how to edit pre-written code to style a web page for desktops, tablets, and mobile devices. Youβll begin by seeing how to connect a CSS stylesheet to an HTML document. Next youβll edit some CSS and be exposed to basic CSS structure. Finally, you'll use new tags to make text colorful, choose fonts, upload pictures, and more.
-
50 minWorkshop
Creating a CSS Marquee
In this live Workshop, Nick tinkers around with CodePen and creates a movie theater marquee in HTML and CSS. He also takes questions from our YouTube audience!
Viewed -
33 minWorkshop
CSS Best Practices
Thereβs more to writing good CSS than simply knowing all the latest and greatest features and techniques. In this workshop, we'll cover best practices for making our CSS more efficient, maintainable, and scalable.
Viewed -
60 minBonus Series
Media Queries
In this Master Class Series, we'll prepare our project and write all the media queries and CSS we need to make our layout respond. Then we will test our layout across a few browsers.
Viewed
Whoops! Perhaps you can try a broader search.