The string argument pass to querySelector must follow the CSS syntax.
Der String-Parameter, der an querySelector übergeben wird, muss der CSS-Syntax entsprechen.
For example, the h1 rule shown below uses longhand CSS syntax.
Die nachfolgend dargestellte Regel für h1 verwendet beispielsweise die lange CSS-Syntax.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.