NO BUG: I am a new to coding and Bricks and I have a problem with writing Custom CSS it gives me a syntax error for all elements

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

[Please describe this bug in as much detail as possible so we can replicate & debug this bug]

Hello,

try to add curly braces, and the error should go away:

%root%{
}

Matej

Hi. Thank you it seems it gives the error until you complete the code. Did the curly brackets and received “block-no-empty” error. Thank you again.

Hi @MaxThePumpGuy,

yeah, that’s a warning, not an actual error. You can save the code, and it will be fine, it will just do nothing.
As soon as you write something in, the warning will go away:

%root%{
  background-color:red;
}

Matej