Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. Overblown file sizes: One of the major problems with nesting in Sass is that it can cause your stylesheet to become bloated with unnecessary code.

  2. Poor performance: As Nesting can increase the number of selectors, which can lead to a decrease in the performance in the web page.

  3. Specificity Issues: The deeper the nested selector, the more specific it is, and the higher it will rank in the cascade. This can make it difficult to override specific styles without resorting to !important.

  4. Confusing syntax: During nesting, indents and brackets are required to keep everything organized. Navigating this extensive CSS style sheet can be difficult for new web developers.

  5. Maintenance issues: If each portion of the stylesheet is deeply nested inside each other, managing the entire sheet can be difficult. To iron out this problem, you must define everything appropriately.

  6. Debugging issues: Debugging nested selectors can be tricky, as indentation should be accurate, or it can become hard to spot errors.