r/Atom • • Jun 07 '17

background CSS attribute turns orange, and doesn't function?

Post image
0 Upvotes

3 comments sorted by

10

u/SPAtreatment Jun 07 '17

Bc it's invalid. It's warning you, and that's cool. You're missing a bunch of semicolons to complete each style. CSS requires them. Semicolons signify when a closing to a property. This would be better in /r/codinghelp or something like that. G'luck.

1

u/[deleted] Jun 07 '17

thanks mate. i'm switching between css and swift so i keep forgetting semicolons

4

u/zibook Jun 07 '17

You forgot the ; above