Fe Css Fundamentals

Overview

In this lesson we will learn about the fundamentals of CSS including syntax, formatting, selecting HTML elements to style, as well as font and color properties.

What's Covered in This Lesson

  1. Explain the purpose of CSS
  2. List and use various CSS syntax
  3. Use various formats of CSS
  4. Use CSS Selectors
  5. Use font & color properties

Styling The Front-End

Summary

  • CSS allows us to style our HTML pages.
  • CSS has three distinct formats; external CSS is considered the best option for styling websites.
  • CSS provides a wide range of selectors to select different elements. Get to know them all.
  • The more specific a selector, the more authority it has.
  • Some properties are inherited from a parent element and others are not.
  • Colors can be specified using color names, hex, rgb, rgba, hsl, or hsla.
  • There are a wide range of font properties you can use to adjust your text.
  • We can load web fonts that might not be available on the site visitor's computer by telling our CSS to load them from our server instead.
  • Comments in CSS are written like /* this */.

Resources

View CSS Fundamentals on Learn.co and start learning to code for free.

Unlock your future in tech
Learn to code.

Learn about Flatiron School's Mission

With a new take on education that falls somewhere between self-taught prodigy and four-year computer science degree, the Flatiron School promises to turn students with little programming experience into developers.

In the six months since the Manhattan coding school was acquired by WeWork, it has spawned locations in Washington, D.C., Brooklyn, and London. Now, WeWork is opening a fourth Flatiron School location, this time in Houston.

Adam Enbar, Flatiron School's cofounder, believes now is the time to grow. "How the world is changing has impacted working and learning in very similar ways. We think education fundamentally is about one thing: enabling people to pursue a better life."

Learn. Love. Code.
Students come to Flatiron School to change their lives. Join our driven community of career-changers and master the skills you need to become a software engineer or a data scientist.
Find Us