+ 1
What is a period character
confused
3 Réponses
+ 3
A period is a dot (.).
To apply a css rule to all elements of class myclass:
.myclass {
property: value;
}
+ 1
period (i.e. dot) is prefixed to class name as # is prefixed to id name
+ 1
period (.) indicates class and # indicates Id properties. if you want to apply a style by using class need use like . followed by class name.