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:
Suvansarkar 2023-08-02 18:36:33 +05:30
parent fb772b7919
commit 6b6454670c
2 changed files with 2 additions and 1 deletions

View File

@ -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: 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 * **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 * **Both elements**: a font size of 28px and a list of fonts containing `Helvetica` and `Times New Roman`, with `sans-serif` as a fallback

View File

@ -8,6 +8,7 @@
.inverted { .inverted {
background-color: black; background-color: black;
color: white; color: white;
font-weight: bold;
} }
.fancy { .fancy {