Skip to content
#

scss

sass logo

Sass is a stylesheet language with a main implementation in Ruby. It is an extension of CSS that makes improvements to the old stylesheet format, such as being able to declare variables and using a cleaner nesting syntax.

Here are 16,465 public repositories matching this topic...

stylelint
ilyub
ilyub commented Dec 20, 2021

What is the problem you're trying to solve?

I guess that selector-max-universal is performance related rule.
I.e. it is supposed to forbid patterns that hit perfomance.

Consider the following patterns (with selector-max-universal = 1):

  1. "*" involves O(N) search. So, it is Good.
  2. "* *" involves O(N^2) search. So, it is Bad.
  3. "* + *" involves O(N) search ("+ *" = next element = it

Created by Hampton Catlin, Natalie Weizenbaum, Chris Eppstein

Released November 28, 2006

Repository
sass/sass
Website
sass-lang.com
Wikipedia
Wikipedia