“CSS Masquez le premier séparateur Li sur chaque ligne - menu CSS horizontal réactif” Réponses codées

CSS Masquez le premier séparateur Li sur chaque ligne - menu CSS horizontal réactif

ul {
  font-size: 0;
  overflow: hidden;
  padding: 0;
}

li {
  font-size: 16px;
  display: inline-block;
  margin: 0;
  padding: 0;
  color: gray;
  position: relative;
  padding-right: 2rem;
}

li::before {
  content: "|";
  position: relative;
  left: -1rem;
  font-weight: bold;
  color: black;
}


<ul>
  <li>Item 1</li>
  <li>Another Item</li>
  <li>This Is Nice</li>
  <li>Another</li>
  <li>And Another</li>
  <li>And Yet Another</li>
</ul>
Cheerful Cod

CSS Masquez le premier séparateur Li sur chaque ligne - menu CSS horizontal réactif

<ul>
  <li>Item 1</li>
  <li>Another Item</li>
  <li>This Is Nice</li>
  <li>Another</li>
  <li>And Another</li>
  <li>And Yet Another</li>
</ul>
Rich Rabbit

CSS Masquez le premier séparateur Li sur chaque ligne - menu CSS horizontal réactif

ul {
  font-size: 0;
  overflow: hidden;
  padding: 0;
}

li {
  font-size: 16px;
  display: inline-block;
  margin: 0;
  padding: 0;
  color: gray;
  position: relative;
  padding-right: 2rem;
}

li::before {
  content: "|";
  position: relative;
  left: -1rem;
  font-weight: bold;
  color: black;
}
Rich Rabbit

Réponses similaires à “CSS Masquez le premier séparateur Li sur chaque ligne - menu CSS horizontal réactif”

Questions similaires à “CSS Masquez le premier séparateur Li sur chaque ligne - menu CSS horizontal réactif”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code