Ask coding questions

← Back to all posts
Whenever I add an HSL value to CSS code, it doesn't work.
Yusamac205 (0)

It just simply doesn't work. I have no clue as to what's wrong.

Answered by Edgod (63) [earned 5 cycles]
View Answer
Commentshotnewtop
Edgod (63)

The last two values (saturation and lightness) should have a % sign after it. Obviously, these values range from 0% to 100%.

Yusamac205 (0)

@Edgod Oh, ok. I get it. That makes sense.