Answers for "how to set font color in css using class"

CSS
7

css set text color

.YourClass {
  color: #ff0000;
}
Posted by: Guest on October-14-2020
6

font color css

Don't use keywords like green, orange, red or so on because browsers will interpretate them in differen colors. Use rgb or hex instead
Posted by: Guest on December-08-2020

Browse Popular Code Answers by Language