InterviewSolution
| 1. |
What is the use of a CSS preprocessor? When should a pre-processor be utilised in a project, according to you? |
|
Answer» CSS preprocessors are scripting languages that augment CSS's STANDARD functionality. They allow us to employ variables, nesting, inheritance, mixins, functions, and mathematical operations in our CSS CODE. CSS preprocessors make it simple to automate repetitive activities, eliminate code bloat and errors, DEVELOP reusable code snippets, and maintain backward compatibility. The benefits and drawbacks of using a preprocessor vary depending on the type of project, but the following are some of the benefits and drawbacks. Advantages:
Disadvantages:
Choosing a preprocessor comes down to personal choice, and it MIGHT be instructive to see how a developer could choose one over the other for your project. Useful Preparation Resources:OOPs OS SQL Practice Problems |
|