Skip to content

Latest commit

 

History

History

02.2-rbga-colors

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
tutorial

02.2 Your First Style

When doing CSS, the idea is to apply css rules to your html elements, you always have to select the element first, and then specify what rules you want to apply to it:

For example, this is the code if you want to make all your website anchors (<a> tags) blue:

a {
  color: blue;
}

📝 Instructions:

  1. Right now there is a style being applied that is responsible for making the anchor red.

  2. Change the style to make your anchor look yellow.