Merge pull request #355 from Suvansarkar/main
03-grouping-selectors: Added the additional question to include "bold" property to match the image
This commit is contained in:
commit
acc92433b3
@ -6,7 +6,7 @@ Instead of having a single element with two different rules applied, though, you
|
||||
|
||||
This will help you further practice adding classes and using class selectors, so be sure you add the class attribute in the HTML file. For the remainder of these exercises, the format of any colors is entirely up to you; we trust you'll practice using the different values! The properties you need to add to each element are:
|
||||
|
||||
* **The first element**: a black background and white text
|
||||
* **The first element**: a black background, white text color, and a bold font weight
|
||||
* **The second element**: a yellow background
|
||||
* **Both elements**: a font size of 28px and a list of fonts containing `Helvetica` and `Times New Roman`, with `sans-serif` as a fallback
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
.inverted {
|
||||
background-color: black;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.fancy {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user