Is CSS a programming language? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 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

9th Apr 2021, 4:29 AM
David Ord√°s
David Ord√°s - avatar
3 Respostas
+ 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
9th Apr 2021, 8:20 AM
Genuine Stalwart
Genuine Stalwart - avatar
+ 1
Skin to skull
9th Apr 2021, 4:40 AM
H√ęllo W√∂rldūüĒį
H√ęllo W√∂rldūüĒį - avatar
+ 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
9th Apr 2021, 5:24 PM
David Ord√°s
David Ord√°s - avatar