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.
background-imageforがありbodyます。sでこの背景画像を削除したいdiv。
background-image
body
div
CSSのみで可能ですか?
で試しました
div{ background-image:none; }
HTML 要素の背景はデフォルトで透明です。したがって、単に体の背景を覆いたい場合は、背景を次のdivように設定できます。
div { background-color: #fff; }
これは、写真を紙で覆うのと同じように機能します。