-4

I have a div element and it has some child elements. For this div and it's child elements css is applying from external css file.

I want to clear all the css for the div and it's child elements. and I want to write own css only for this div.

Is it possible?

1 Answers1

0

Make sure your stylesheet comes after the stylesheet from where the elements inherit the styles. Then you just have to overwrite the styles making sure there are no specificity issues.