Question 172Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 3 (4:30 PM)
What is the purpose of using a CSS pre-processor in front-end development?
ATo simplify and extend the capabilities of CSS
BTo add interactivity to a web page using JavaScript
CTo add style and layout to a web page using CSS
DTo improve the performance of a web page using optimised code
Show answerHide answer
Correct answer: (A) To simplify and extend the capabilities of CSS
Explanation
A CSS pre-processor such as Sass or LESS adds variables, nesting, mixins and functions to CSS. It simplifies and extends CSS, then compiles to plain CSS.
From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 3 (4:30 PM)