Mark

Highlights parts of text that should be marked for reference or notation purposes, due to emphasis or importance in the context.

The flix-mark class adds a highlight background to text that should be marked due to emphasis or importance in the context.

The class should be associated with the mark HTML element.

Highlighted text
<mark class="flix-mark">Highlighted text</mark>

The mark element inherits styles from its parent text containers, so it can be used in within any typography component, such as text, headings and so on.

This is a highlighted heading.

This is a highlighted text.

<h1 class="flix-h1">This is a <mark class="flix-mark">highlighted</mark> heading.</h1>
<p class="flix-text">This is a <mark class="flix-mark">highlighted</mark> text.</p>