@Kirito-san-88Submitted about 2 years ago
Ezequiel
@rrettaAll comments
- @rrettaPosted about 2 years ago
nice work Kirito-san-88 ;) if you keep on doing challenges check that there is a file in the root named "style-guide.md" with the right colors requested by the challenge.
in this case:
Colors
- White: hsl(0, 0%, 100%)
- Light gray: hsl(212, 45%, 89%)
- Grayish blue: hsl(220, 15%, 55%)
- Dark blue: hsl(218, 44%, 22%)
these colors you can add them at the beginning of the styles.css in the following way:
:root{ --graydish-blue-color: hsl(220, 15%, 55%); }
after this to use them you add them to the class you need in the following way, for example like a background color:
.class{ background-color: var(--graydish-blue-color) }
that way whenever you need a color you have it stored and you can call it for whatever you need and you won't have to write it again.
have nice day!
Marked as helpful0 - @vishalbrdrSubmitted over 3 years ago
Responsive Blogr Landing Page using FLEXBOX