I have set a global attribute to < p > to make the first letter of the paragraph a big, colorful letter. Now I have a < p > tag where I don't want that to happen. How can I add an exception to only 1 tag?
p::first-letter
{
font-size: 200%;
color: #0565a8;
}
I am using the code above to get the effect that I want. Now I have a paragraph that I want to be plain and simple, without any effects.
<div id="next_event">
<p style="padding-left: 5px;">Next event: 13.04</p>
</div>
And this is the paragraph where I want to have everything in plain text.
Aucun commentaire:
Enregistrer un commentaire