# Beste Praktiken für die Erstellung individueller CSS-Stile für Abschnitte von Beiträgen

**URL:** <https://meta.discourse.org/t/best-practices-for-creating-custom-css-styles-for-sections-of-posts/313904>\
**Category:** Development\
**Created:** [27. Juni 2024 um 03:02 UTC](https://meta.discourse.org/t/best-practices-for-creating-custom-css-styles-for-sections-of-posts/313904 "2024-06-27T03:02:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Alteras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alteras/32/179824_2.png) [@Alteras](https://meta.discourse.org/u/Alteras)\
**Post date:** [2. Juli 2024 um 23:34 UTC](https://meta.discourse.org/t/best-practices-for-creating-custom-css-styles-for-sections-of-posts/313904/3 "2024-07-02T23:34:22Z")

</div>

Der Einbettungscode von [https://fonts.google.com/share?selection.family=Playwrite+US+Trad:wght@100..400/](https://fonts.google.com/share?selection.family=Playwrite+US+Trad:wght@100..400/) sieht so aus, als sollte er `\"Playwrite US Trad\"` lauten

```css
// <uniquifier>: Verwenden Sie einen eindeutigen und beschreibenden Klassennamen
// <weight>: Verwenden Sie einen Wert von 100 bis 400

.playwrite-us-trad-<uniquifier> {
  font-family: "Playwrite US Trad", cursive;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

```

---

_[View the full topic](https://meta.discourse.org/t/best-practices-for-creating-custom-css-styles-for-sections-of-posts/313904)._
