M
M
Michael2017-09-18 16:14:26
Sass
Michael, 2017-09-18 16:14:26

Who can explain in detail what is sass and less (for the teapot)?

I am studying these areas and it is not yet very clear what it is, please explain in simple words.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Evgeny Petrov, 2017-09-18
@EvgenZZ

Simply put, a library for CSS ()
Sass (Syntactically Awesome Stylesheets) is a module included in Haml. Sass is a CSS-based metalanguage designed to increase the abstraction level of CSS code and simplify cascading style sheet files.
https://www.npmjs.com/package/node-sass

A
Andrey Perov, 2017-09-18
@SnaIP

We can say that this is a PL (in simple words) that is generated in css, you can also come up with any one yourself and it will be generated from any constructions in CSS, for example, read the file on node.js and generate a file with the .css extension for some constructions

A
andead, 2017-09-18
@andead

What is Less and Sass?

A
Alexey Budaev, 2017-09-18
@Markus_Kane

Let me explain in a simpler way:
CSS itself is boring, it implies the need to duplicate code and remember such data that you don’t need to keep in your head (HEX color codes, indents for different types of page elements, etc.).
SCSS and LESS solve the problem by adding variables, functions, hashes, and other convenience features to CSS. In addition, with a competent style architecture, you can very flexibly and conveniently manage the styles of individual components without having to search for a single line in a large, large file.
This is in short.
Read more about what SCSS provides here .
In my opinion, this is a necessary tool for a self-respecting coder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question