Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
スタイルシートで各ページの背景画像を制御し、ページごとに異なる背景を使用できるようにしたいと考えています。
すべてbodyの要素にid. 次に、複数の id セレクターを使用して CSS をカスタマイズできます。
body
id
body#index-page { background: red; } body#about-us { background: blue; }