Coding Global Background
Coding Global

Hi. How do I fix this?

Archiviert 3 years ago
4 Nachrichten
0 Mitglieder
Erstellt 3 years ago
Aktualisiert 3 years ago
In Discord öffnen
B
bluepianist
<body>
    <h1> A blue heading</h1>
    <p> Hello </p>
    <a href="https://www.apple.com" target="_blank">Apple</a>

    <h2 class="hi">No.</h1>
    <p class="hi"> Yes.</p>
</body>


I'm trying to make the first <p> Hello </p> have the specified, but I don't want the lower <p class="hi"> Yes. </p> to have the properties of the previous p. But apparently the second CSS for p.hi only changes the font style, but still keeps the border. How do I circumvent this?
Hi. How do I fix this?

Antworten (4)