How does CSS minification typically reduce file size?
- Adding extra code for redundancy
- Compression of images
- Concatenation of JavaScript files
- Removal of whitespace and comments
CSS minification primarily involves removing unnecessary whitespace and comments from the code. This results in a more compact file that can be transmitted faster over the network, contributing to improved page loading speed.
Loading...
Related Quiz
- A list item's marker can be positioned outside the list item content if the list-style-position property is set to ________.
- What is the significance of the 'viewport' attribute in an SVG used in a web page?
- In terms of specificity, which type of selector has the highest priority?
- Which of the following properties, when animated, would cause a "repaint" but not "reflow" in most browsers?
- Suppose you want to target every third list item in a list. Which CSS pseudo-class will you use?