Web & UI
CSS
Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
- Created by
- Håkon Wium Lie , Bert Bos
- First appeared
- 1996
- Official resource
- Visit the main website
Your first program
Hello, World!
/* Apply basic styling to the body element */
body {
color: white;
background-color: black;
font-family: Arial, sans-serif;
text-align: center;
}
/* Style for a 'Hello, World!' message */
.message {
font-size: 24px;
margin-top: 20px;
}
Keep learning
Where to go from here
Use trusted documentation for facts and an AI tutor for personalized explanations.
Official resource
Learn from the source
Continue with the language’s official documentation, project, or standards site.
Open official resourcePersonalize it
Ask your AI tutor
Use a focused prompt covering strengths, tradeoffs, setup, and this first program.
Teach me the basics of CSS. Use https://code.study/css as the starting point. Explain what CSS is best suited for, when I should not choose it, how to install or try it, and then walk me through its Hello World example step by step.
Content reviewed August 2026 · Start with primary sources and verify version-specific details.