+ 1

Hi😀! Who can explain me, what doe's it mean in CSS, signs: '@' and '
#x27; before the words (like: @font-face) ???😓

CSS

24th Jul 2017, 10:57 AM
Uri Shlomov
Uri Shlomov - avatar
3 RĂ©ponses
24th Jul 2017, 11:10 AM
Art456
Art456 - avatar
+ 3
Not sure what $ you mean So I think it is css selector html: <div w1="w23">ha</div><br> <div w1="w22">ha</div> css: div[w1 $="22"]{ color:red; } second div text will be changed to red because of attribute value ending with "22" //$= is for select that ending with that characters @ for define rule yes but if @media rule query this also take logical stuff Understand how to use it well by clicked this link https://goo.gl/MB38LW
24th Jul 2017, 11:40 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 1
I've only seen it with @media but according to Mozilla it is the beginning of setting certain conditions. https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule
24th Jul 2017, 11:14 AM
God Usopp
God Usopp - avatar