Table of Contents
Reply to discussion (solution)
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

Jun 24, 2016 pm 12:12 PM

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