simple_selectors

simple_selectors($selector)

Returns the simple selectors that comprise the compound selector $selector.

Note that $selector must be a compound selector. That means it cannot contain commas or spaces. It also means that unlike other selector functions, this takes only strings, not lists.

Examples:

simple-selectors(".foo.bar") => ".foo", ".bar"
simple-selectors(".foo.bar.baz") => ".foo", ".bar", ".baz"

Returns A list of simple selectors in the compound selector.

Parameters:

  • $selector (String) The compound selector whose simple selectors will be extracted.

Returns:

  • (List) A list of simple selectors in the compound selector.
doc_Sass
2016-11-11 13:09:25
Comments
Leave a Comment

Please login to continue.