Back to Withastro

CSS Syntax Error.

src/content/docs/en/reference/errors/csssyntax-error.mdx

latest337 B
Original Source

import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />

Example error messages:

CSSSyntaxError: Missed semicolon

CSSSyntaxError: Unclosed string

What went wrong?

Astro encountered an error while parsing your CSS, due to a syntax error. This is often caused by a missing semicolon.