What is @ in css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is @ in css

I have been looking at a couple of html codes and notice a @ in the css code so i was wondering what is was. If anybody knows what it is and explain it to me, it would be a great help ,thank you.

9th Dec 2016, 3:44 AM
Jean
Jean - avatar
1 Answer
+ 1
It is used when you want to define some rules as a part of its keyword. For example: @font-face - to define fonts @media - to define rules for specified media only
9th Dec 2016, 4:21 AM
Ondřej Doněk
Ondřej Doněk - avatar