CSS275 Documents

Declaration Lines

Put each @apply directive and each CSS declaration on its own line.

Correct

.item {
    @apply border;
    background: var(--surfaceColor);
}

Incorrect

.card {
    @apply border; color: var(--textColor);
}

Fix

Place every @apply and CSS property on a separate line between the selector braces.