Syntax
background-repeat
Setting how background images are repeated.
Overview
Class | Declarations |
---|---|
background-repeat:`mode` | background-repeat: `mode`;
|
bg:repeat | background-repeat: repeat;
|
bg:no-repeat | background-repeat: no-repeat;
|
bg:repeat-x | background-repeat: repeat-x;
|
bg:repeat-y | background-repeat: repeat-y;
|
Apply conditionally
Apply styles based on different states using selectors and conditional queries.
<div class="background-repeat:repeat:hover background-repeat:repeat@sm background-repeat:repeat@dark background-repeat:repeat@print">…</div>