Learn CSS / Fundamentals

Background

Access full course

Ready-to-use code

Colors & backgrounds / Linear gradients

See the Pen CSS Fundamentals / Colors & backgrounds / Linear gradients by In a Rocket (@inarocket) on CodePen.

Colors & backgrounds / Radial gradients

See the Pen CSS Fundamentals / Colors & backgrounds / Radial gradients by In a Rocket (@inarocket) on CodePen.

What you have learned

  • How to set a background using CSS.
  • How to apply different background options: background-color, background-position, background-image, background-repeat and background-attachment.
  • How to create linear and radial gradients.
  • Tools: examine background and accessibility information, CSS gradients gallery, etc.

References

Newsletter

  • Free Stuff. Exclusive access to new courses, latest news and free resources.
  • No spam. Just real content that's meant to make a difference.