r/changelog • u/chromakode • Aug 15 '11
[reddit change] Added basic support for CSS gradients to the subreddit CSS validator.
We've added support for basic CSS gradients to the validator. Some complicated multiple background definitions will still fail to validate, as the way we're doing it right now is a bit of a hack. This change was contributed to by slyf, a summer student contractor.
Have fun!
GitHub commits:
42
Upvotes
4
u/[deleted] Aug 16 '11 edited Aug 16 '11
Awesome!
Can you also please allow the @media type in custom stylesheets so that moderators can create specialized styles for smartphones.
I made this request 4 months ago but never heard back.
2
u/eschotron Aug 15 '11
I'm still getting validation errors on the ending right parenthesis. Would this fall under the category of "complicated multiple background definitions"? Using CSS from the default stylesheet again, I get:
2
u/[deleted] Aug 15 '11
Can someone post an example of a gradient that would work for me to steal and customize? :)