How to remove duplicated styles in individual css files, If they already present in common.css file.
common.css file has below styles.
.nav {
background-color: red;
}
home.css has below styles.
.nav {
background-color: red;
}
.home {
width: 300px;
}
Now, I would like to modify the home.css using gulp task to remove the duplicated class .nav (as I have the class and with the same properties in common.css). After modifying of home.css file, then I'm excepting the below output.
.home {
width: 300px;
}
I don't want to change or modify the common.css file. Could you please suggest any node package?