Accoutrement 4.0.3

Pseudo-Elements

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

@mixin before()

Add generated content :before an element.

Since 4.0.0:

  • NEW: The default value for $content is an empty string

Parameters

$content: '' (String)

A value for the content property.

@mixin after()

Add generated content :after an element.

Since 4.0.0:

  • NEW: The default value for $content is an empty string

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.