This content originally appeared on DEV Community and was authored by Rio Cantre
Finding the right balance on details needed to accomplish the ideal design must value the hierarchy of context and establish possible outcomes to solidify the final result.
The font-weight property can take any one of these keyword values:
-
bold
: Bold font weight. -
normal
: Normal font weight. This is the default value. -
lighter
: One font weight lighter than the element’s parent value. -
bolder
: One font weight bolder than the element’s parent value
Numerical values can range from 1 (lightest) to 1000 (boldest), but it
is common practice to use increments of 100. A font weight of 400 is equal to the keyword value normal, and a font weight of 700 is equal to bold.
Code Snippets
a11y myths
Web accessibility is just a developer's job
It's a team effort. Designers create accessible UIs, developers build it, QA engineers do the accessibility testing, PMs make sure that accessibility is included in the team processes, legal team checks if a product is risk free from an accessibility perspective, content managers adjust content to be compliant.
This content originally appeared on DEV Community and was authored by Rio Cantre
Rio Cantre | Sciencx (2021-12-10T12:56:23+00:00) Day 86/100 Font Weight. Retrieved from https://www.scien.cx/2021/12/10/day-86-100-font-weight/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.