Profile image
By webdesignerdepot (Reporter)
Contributor profile | More stories
Story Views

Last Hour:
Last 24 Hours:

Poll: should CSS become more like a programming language?

Friday, November 4, 2016 5:57
% of readers think this story is Fact. Add your two cents.

I’ve made no secret of my love for LESS. It was my first CSS pre-processor, and still my favorite, even as pragmatism pushes me towards SASS. The addition of variables, mixins, selector nesting, and advanced calculations to CSS just blew my mind.

And while the enhanced versatility and ease of writing CSS was much appreciated, I was especially excited about the potential for the increased separation of content from presentation. That was the purpose of CSS from the very beginning, and it’s a cause I can believe in. Content may be the most important part of the design, but you shouldn’t have to code it that way.

I remember the days of table layouts, and they were dark.

Now, at long last, developers have discovered CSS too. (I’m mostly kidding…) They have brought many valuable contributions — like the aforementioned preprocessors — and raised a few issues of their own. Many feel that CSS isn’t object-oriented enough, or even just generally programmer-friendly enough. They’ve addressed this issue with frameworks, tools, and even the occasional library for defining CSS rules in JavaScript.

Okay, most of those were made as a joke. Still, it’s a bit of a trend. There is a movement, though not an organized one (that I know of), to make CSS look a whole lot more like a programming language. And I’m talking about basic CSS, with no preprocessors involved.

This would, in many ways, increase CSS’ potential massively. It could also result in less CSS needing to be written. On the downside, I’m bad at programming, and a lot of other designers are too. Also, what we gain in smaller file sizes could be mitigated by the increase in computing power needed to render the results of that CSS.

It would all come down to whether the programming-related features complement or replace the current layout and styling aspects of CSS. So, what do you think?

Grab an Emoji Mask Today (perfect for any party!) – only $5.99!



We encourage you to Share our Reports, Analyses, Breaking News and Videos. Simply Click your Favorite Social Media Button and Share.

Report abuse


Your Comments
Question   Razz  Sad   Evil  Exclaim  Smile  Redface  Biggrin  Surprised  Eek   Confused   Cool  LOL   Mad   Twisted  Rolleyes   Wink  Idea  Arrow  Neutral  Cry   Mr. Green

Top Stories
Recent Stories



Top Global


Top Alternative




Email this story
Email this story

If you really want to ban this commenter, please write down the reason:

If you really want to disable all recommended stories, click on OK button. After that, you will be redirect to your options page.