• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 85
  • Last Modified:

Need an overview of CSS pre-compilation

I love the sound of using automation to fix what can get sticky and ugly as an project grows.

Please give me a quick idea how it works, and what some benefits are of the leading CSS pre-compilers.

Thanks
0
newbieweb
Asked:
newbieweb
  • 3
  • 3
1 Solution
 
James BilousSoftware EngineerCommented:
Precompilation just means that you are using a CSS extension language and running it through an interpreter to get the actual CSS you want to serve to the user. Check out what LESS does http://lesscss.org/ or SASS http://sass-lang.com/guide to get an idea of what CSS preprocessors do.
0
 
newbiewebSr. Software EngineerAuthor Commented:
.
0
 
newbiewebSr. Software EngineerAuthor Commented:
thanks
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
James BilousSoftware EngineerCommented:
Yeah, less is essentially a "precompiler" so you write LESS code and when its compiled it turns into CSS. When this compiling happens is up to you. For example, you can compile when serving up a page in node, when your page is rendered in the browser, or before hand completely into a static file. "running in" less basically means the compiling step is automated within these environments.
0
 
newbiewebSr. Software EngineerAuthor Commented:
But the Node would just host the pre-processor. The deployment environment can be anything that supports CSS, right?
0
 
James BilousSoftware EngineerCommented:
Correct, node would just run it when needed
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now