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

For what is this @ in css

question as title, thanks

13th Apr 2017, 10:10 PM
Rafael
2 Answers
+ 11
It's a rule, a statement, and it's called the "at-rule" in CSS. It has a keyword that acts as an identifier and instructions to perform. Examples: @keyframes, @media, @import, @charset, @page, @viewport, etc.
13th Apr 2017, 11:02 PM
Pao
Pao - avatar
+ 4
i just remember seeing it for refering to "keyframes" when making a CSS animation
13th Apr 2017, 10:11 PM
Welliton Malta
Welliton Malta - avatar