css für eine html DateiHTML ? FX ? in welcher sprache befindest du dich >.<
#myclass{
font-weight: bold; // DIcke
color: blue; // Farbe
}
p::first-linearticle ist doch auch nur ein div mit semantik. Wie soll das helfen?
was müsste ich den dafür im css eingebenja schon aber nicht wenn alles in <p> ist... versuch mal das Article HTML element zu verstehen das ist das was du brauchst das hat nämlich das automatisch
<p> Mein Titel </p>
<p>
balbalablalb
</p>
// Müstest du umwandeln
<article>
<h1 style="color: blue;">Weather forecast for Seattle</h1>
<article>
<h2>03 March 2018</h2>
<p>Rain.</p>
</article>
<article>
<h2>04 March 2018</h2>
<p>Periods of rain.</p>
</article>
</article>
habs auch so in html also erst article, dann mit den <p> usw.<p> mein titel <p
HTML:<p> Mein Titel </p> <p> balbalablalb </p> // Müstest du umwandeln <article> <h1 style="color: blue;">Weather forecast for Seattle</h1> <article> <h2>03 March 2018</h2> <p>Rain.</p> </article> <article> <h2>04 March 2018</h2> <p>Periods of rain.</p> </article> </article>
<!DOCTYPE html>Zeig doch einfach mal dein HTML...
und das wie in css?HTML:<p><b>Nike ist der führende Sportartikelhersteller der Welt.</b> Mit dem Slogan "Just do it" spricht Nike jede Generation an. Besonders erfolgreich sind Nike-Schuhe.</p>