From 4b7123060d9ab671fcdf5fa72894d6b4172e7c7e Mon Sep 17 00:00:00 2001 From: Roger <52100206+rog2054@users.noreply.github.com> Date: Sun, 9 Jan 2022 15:59:11 +0000 Subject: [PATCH] Added a Linux-friendly font If Verdana not present, all fonts look the same at the end of this exercise on Ubuntu 20 with Firefox. DejaVu Sans is a common Linux sans-serif font installed by default on popular Linux distros. --- foundations/02-class-id-selectors/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundations/02-class-id-selectors/README.md b/foundations/02-class-id-selectors/README.md index 148e4fd..9fd6d40 100644 --- a/foundations/02-class-id-selectors/README.md +++ b/foundations/02-class-id-selectors/README.md @@ -5,7 +5,7 @@ There are several elements in the HTML file provided, which you will have to add It isn't entirely important which class or ID values you use, as the focus here is on being able to add the attributes and use the correct selector syntax to style elements. For the colors in this exercise, try using a non-keyword value (RGB, HEX, or HSL). The properties you need to add to each element are: -* **All odd numbered elements**: a light red/pink background, and a list of fonts containing `Verdana` as the first option and `sans-serif` as a fallback +* **All odd numbered elements**: a light red/pink background, and a list of fonts containing `Verdana` and `DejaVu Sans` with `sans-serif` as a fallback * **The second element**: blue text and a font size of 36px * **The third element**: in addition to the styles for all odd numbered elements, add a font size of 24px * **The fourth element**: a light green background, a font size of 24px, and bold