+ 3
Is CSS a programming language?
What do you think at this moment about this topic? It must be considered like this? Since CSS3 we can enjoy with - variables https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties - taking html attributes as is: https://developer.mozilla.org/en-US/docs/Web/CSS/attr() - a bunch of functions to compute things https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Functions (yeahh I know much of them already in draft but calc is already popular almost in advanced responsive design) - ... Waiting to drafts have been released out and adopted by browsers 🤗🤗. It's a fact that always can use some preprocessor (Less, Sass, PostCss) it makes us that dirty/tedious work https://www.sololearn.com/post/1029052/?ref=app
3 Réponses
+ 5
Jan Markus first time gotcha. 😁
CSS is not even a markup language, it's a stylesheet language. 🙂
https://en.m.wikipedia.org/wiki/CSS
+ 1
Skin to skull
+ 1
Jan Markus Genuine Stalwart yeah I know. Here my opinion
I agree that a designer isn't a programmer per se. But lastest boosts made to specifications are changing things. Special mention to accessibility (with new media queries) and responsive design topics
https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries
CSS3 provide rich functions and custom properties that can acts as variables.
- Variables: https://developer.mozilla.org/en-US/docs/Web/CSS/
- Using_CSS_custom_properties
Taking values From HTML to CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/attr()
And other bunch of functions to compute things https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Functions mainly with calc()
Nowadays CSS isn't the same as when appear. It has evolved like pokemons, as same as other language that provides syntax sugar to adopt new programming paradigms and making easier their use.
I updated a bit the description body talking about this