CSS preprocessors like SASS and LESS enhance CSS by adding features like variables, nesting, mixins, and functions, which make stylesheets more maintainable and scalable.
13.
Which CSS property is used to align text within its container horizontally?
The "position: fixed;" property in CSS positions the element relative to the viewport, meaning it stays in the same position even when the user scrolls the page.
15.
Which CSS property is used to specify the background color of an element?
CSS media queries allow developers to apply different styles based on the characteristics of the device, such as screen size, orientation, and resolution, enabling responsive design.
17.
Which CSS property is used to control the size of an element relative to its containing element?