Computer Programming
How many dash can I use in CSS .class Selector value ?
2 Answers
2
answers
How many dash can I use in CSS .class Selector value ?
1
Answer link
Example
1. <p class="sm-am"> </p>
2. <p class="sm-am-1"> </p>
3. <p class="sm-am-g-1"> </p>
Can I use all three. I use 2 dash. Is this all three format right.
1
Answer link
You can use as many dashes as you feel comfortable using. It's a css class name, so it can be anything you want.