Accoutrement 2.1.1

Pseudo-Elements

Some shortcuts for creating ::before and ::after pseudo-elements.

@mixin before()

Add generated content :before an element.

Parameters

$content: (String)

A value for the content property.

@mixin after()

Add generated content :after an element.

Parameters

$content: (String)

A value for the content property.

@mixin wrap-content()

Add generated content :before and :after an element.

Parameters

$content: (List)

One or two values to be used for the content property. A single string will be used :before and :after.