Added the bold property
Added the bold property to the button 1 so as to match the solution image given.
This commit is contained in:
parent
fb772b7919
commit
6b6454670c
@ -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 and bold
|
||||
* **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