cleanslate icon indicating copy to clipboard operation
cleanslate copied to clipboard

Pseudo elements are not reset

Open Dathix opened this issue 6 years ago • 1 comments

It seems to me that pseudo elements are not reset the way I expected it, maybe my expectations are just wrong or I did a mistake.

For now, I just added this manually on top of my rules that uses important but maybe this should be included in cleanslate.

*::before, *::after {
   content: none;
}

Dathix avatar May 22 '18 11:05 Dathix

You are right, ::before and ::after should be added. The content property is the most important, since setting it to none will remove the pseudo-element. I wonder if all properties should be reset for pseudo-elements just as they are for elements?

premasagar avatar Jun 13 '18 13:06 premasagar