Gunnar Bittersmann: CSS-Frage, gemeinsamer Code

Beitrag lesen

@@JürgenB

#a, #b {
  & { background: yellow; }
  p { color: red; }
  ul { margin: 0; }
}   

sollte gehen. Ich würde das aber so schreiben:

#a, #b {
  background: yellow;

  p { color: red; }
  ul { margin: 0; }
}   

🖖 Live long and prosper

--
In our chants of “ICE out now”
Our city’s heart and soul persists
Through broken glass and bloody tears
On the streets of Minneapolis

— Bruce Springsteen, Streets of Minneapolis