CSS Variables

For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
Post Reply
User avatar
Albert Wiersch
Site Admin
Posts: 3783
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

CSS Variables

Post by Albert Wiersch »

The next minor update of CSE HTML Validator (which will be v16.04) will support CSS variables.

I was wondering if anyone here uses them or has played with them? Of course the biggest problem is browser support. No version of Internet Explorer or Microsoft Edge supports CSS variables... but current versions of Chrome, Firefox, Opera, and Safari do support them.

Here are some good links:
https://developer.mozilla.org/en-US/doc ... _variables
http://tutorialzine.com/2016/03/what-yo ... variables/

This person thinks they're a bad idea:
https://www.aaron-gustafson.com/noteboo ... -bad-idea/
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
RSteinwand
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND
Contact:

Re: CSS Variables

Post by RSteinwand »

Interesting. I would think a preprocessor would make more sense, but as much as it interests me, I haven't tackled it yet.

You're throwing all kinds of neat things in this next build. = )
Rick
Post Reply