This has had me tearing my hair out for an hour:
div {
key: value;
...
};
img {
key: value;
...
}
(Note the semicolon after the curly brace). None of the styling for img
s was showing up ... finally I noticed the semicolon and removed it -- voila! it all works as expected.
The question: what does a ; outside of curly braces mean?
what does a ; outside of curly braces mean?
Invalid syntax.
That's why the parser stopped there and didn't pick up any of the style rules below (e.g. img
). Validate it yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With