selectors with colons | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

selectors with colons

what does :after or before mean

10th Aug 2016, 8:46 PM
Kahuma Solomon
Kahuma Solomon - avatar
3 Answers
+ 1
Before colon is used when you are referencing selectors in css like .body:hover{ } And after colon is used while referencing property like this .body{ color:red; }
15th Sep 2016, 3:18 AM
Saiprasad Vyawahare
Saiprasad Vyawahare - avatar
0
before mean
11th Aug 2016, 8:29 PM
El Hannach Mouhcine
El Hannach Mouhcine - avatar
0
there are pseudoclass than append some content after or before the target selector ej: at css p:before { content : ">>"; } at html <p> Some text</p> at browser >>Some text
4th Nov 2016, 4:58 AM
Omar Campistrano
Omar Campistrano - avatar