You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
402 B
18 lines
402 B
/* These styles are used to style some of the text in |
|
the boxmodel chapter. This is to demonstrate two |
|
methods we can use to style part of a larger element. |
|
For example, I might want a single word within a |
|
paragraph to have a different colour to the rest of |
|
the paragraph |
|
*/ |
|
|
|
|
|
red { |
|
color: red; |
|
font-weight: 900; |
|
} |
|
|
|
article p .red { |
|
color: red; |
|
font-weight: 900; |
|
} |