Table of Contents
Home
Web Front-end
HTML Tutorial
How to prevent a div within the body from inheriting the CSS style of the body? _html/css_WEB-ITnose



How to prevent a div within the body from inheriting the CSS style of the body? _html/css_WEB-ITnose
The main thing is the background color style.
Inheritance is prohibited.
Reply to discussion (solution)
123
Change the background of the div you don’t want to inherit Set it up again