Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
Explore what CSS is and how it functions in web development. We'll unveil the purpose of CSS and how it enhances the visual aesthetics of web pages.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
CSS, or Cascading Style Sheets is a vital
component of web development, but
0:01
what does it actually mean?
0:06
Let's break down the meaning of CSS.
0:08
The cascading part of CSS refers to
the order in which styles are applied,
0:12
and how conflicts are resolved.
0:17
CSS will first apply the default styles
provided by the web browser itself.
0:20
Every web browser has a set of
default styles for HTML elements.
0:26
The browser's default style
can be overwritten by
0:31
the CSS code a web developer
writes to style their web pages.
0:35
Stylesheets is a file
that contains rules and
0:42
instructions that control the presentation
and layout of elements on a web page.
0:44
They define how HTML
elements should appear,
0:50
such as the fonts, colors,
margins, and positioning.
0:54
In essence, CSS serves as a styling
language that browsers use to
0:59
make web content visually appealing and
user-friendly.
1:04
It's the essential ingredient that
turns plain HTML documents into
1:08
visually engaging and
well-structured web pages.
1:13
Providing an enjoyable
browsing experience for users.
1:17
To show you just how much
CSS can change a web page,
1:21
I have downloaded an extension that allows
me to disable all styling from a web page.
1:25
Imagine you head on over to the MDN or
Mozilla Developer Network
1:32
web docs to learn more
about CSS's color property.
1:37
Without CSS,
this page becomes difficult to navigate,
1:41
causing you not to be able to find
the information you're looking for.
1:45
CSS is needed to present a lot of
information in well organized and
1:49
visually appealing ways.
1:54
So what else can you do with HTML and CSS?
1:57
You can build a stunning personal
portfolio to impress potential employers.
2:00
People have created lots of fun
projects with just HTML and
2:06
CSS, the possibilities are endless.
2:10
HTML and CSS are fundamental building
blocks that make up much of what you see
2:14
in the browser.
2:19
You see HTML and
CSS every single day on popular websites
2:21
like Google, YouTube,
LinkedIn, and Netflix.
2:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up