I have the following lines in a stylesheet.css on a Debian 10 (Buster) system, running the latest Apache2, PHP, etc., on a pc computer:
Know nothing about Rasberry and browsers that may run on it. But while some browsers may style self-invented elements like your RED it isn't kosher HTML. I assume this is HTML and not XML? Try a proper HTML element with the class 'red' instead.
I have no idea, since you didn't show the corresponding HTML. But the way your CSS is written, 'red' refers to an element RED, and such an element doesn't exist in HTML.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)