Sass selector-append() Function

Last Updated:

Sass selector-append() Function

The selector-append() function combines $selectors without descendant combinators—that is, without whitespace between them.

If any selector in $selectors is a selector list, each complex selector is combined separately.

Note: The $selectors may contain placeholder selectors, but not parent selectors.

Example

SASS TO CSS CONVERTER
#{selector-append("div", ".foo")} { color: black; }

Syntax

selector-append($selectors...)

Parameter Value

ValueTypeExplanation
$selectors... Required Specifies multiple css selectors.

Return Value

ValueExplanation
Selector Returns the combined $selectors without descendant combinators.

Share this Page

Meet the Author