# CSS Syntax

# CSS Syntax

A CSS rule consists of a selector and a declaration block 👇

For single property:
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1668658674995/-qbIW1ZuO.png align="left")

<iframe src="https://giphy.com/embed/l7fdqmHQ1jCg2HzQlx" width="480" height="270" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/lego-baby-yoda-legos-lego-star-wars-holiday-special-l7fdqmHQ1jCg2HzQlx">via GIPHY</a></p>


Let us now define two properties.👇
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1668658710092/RqyU53CIG.png align="left")

