Topics pages tech illustration

Learn CSS

CSS, or Cascading Style Sheets, is the code responsible for styling web content. CSS is often referred to as the presentation layer of a web page, since CSS controls how web content is displayed on a computer, on a mobile device, or even the printed page. Explore Treehouse's CSS content and start your learning today.

Not sure if this is the right language for you?

What is CSS?

CSS controls the appearance of the HTML on a web page. Developers use stylesheets to change the appearance of HTML elements by changing colors, font sizes, backgrounds, layout, and much more. CSS also allows developers to adapt our content to various devices, screen sizes, and resolutions.

Meet Your Built in Code Editor

FileEditHelpViewscript.jsConsoleMy ProjectMarkdownSpaces 2Line 1, Column 1 - 11 Linesx

Workspaces

A fully browser-based code editor designed to make learning with Treehouse a breeze.

Using Workspaces

The built-in code editor will assist you with your markup. This will help you identify any potential issues as you practice your coding skills. This ensures you will pick up on any mistakes you make early on, which will help you to correct these mistakes and give you a good foundation from which to progress. This is just one of several available tools to help you be successful.

Start Your Free Seven-Day Trial

It’s never been easier to take a course with Treehouse. You can try out Treehouse for free, learn at your own pace, get the precise help you need, network with others and get started on your chosen high-paying career path! Start your seven-day trial to jump-start your learning journey right away.

Courses


  • On-demand video courses
  • Interactive practice sessions
  • Access to our community

$25/month

Select

Courses Plus


  • Everything from Courses
  • Access to additional content
  • Downloadable videos

$49/month

Select

Techdegree


  • Career-ready learning
  • Project-based curriculum
  • Exclusive Slack support

$199/month

Select

A Look Inside the Industry

$130,000

Starting Salary

+27%

Employment Rate

1:4

IIndustry Ratio

Career Positions

    • Front End Designer
    • Senior Front End Designer
    • Lead Front End Designer

Career Skills

    • HTML & CSS
    • Javascript
    • Github

Meet Your Instructors

  • Guil Hernandez

    Guil Hernandez

    Get to Know
  • Dale Sande

    Dale Sande

    Get to Know
  • David Conner

    David Conner

    Get to Know
  • Joy Kesten

    Joy Kesten

    Get to Know
  • Join the Conversation!

    Tweet us at @Treehouse using the hashtag #myTreehouseStory

    What is CSS used for?

    CSS is found on just about every page on the web. CSS controls the colors, fonts, and layouts seen by page visitors, and can be used to ensure a web page remains legible across different devices like phones, tablets, laptops, and desktop computers.

    Learn More

    In Treehouse's blog, you can find a wide variety of topics that can further help you in your learning and application of new skills. For instance, you can look up “What Is Front-End Web Development?” And “Intro to Design Thinking” can help you tackle design.

    • What is UX Design?

      Picture this: you’re about to enter a building in your neighborhood. This could be an office building, a market, a library. Your cell phone buzzes in your pocket, and you’re a bit distracted as you approach the front door. You...

    • What is Front-End Web Development?

      Think of your favorite website. This could be a news website, an e-commerce site for shopping, an artist’s portfolio site, a social media platform, or a learning site like Treehouse. No matter what category your favorite site falls into, it’s...

    • Why Sharing Your Pronouns Matters

      Please note: This is my experience. I am aware that everyone’s experiences are valid and unique. This is just one perspective. “It’s a girl!” Upon hearing this news, my parents immediately went out and bought all the pink things. They...