remove / reset inherited css from an element

前端 未结 9 1317
攒了一身酷
攒了一身酷 2020-12-06 04:00

I know this question was asked before, but before marking it as a duplicate, I want to tell you that my situation is a little different from what I found on the internet.

9条回答
  •  Happy的楠姐
    2020-12-06 04:39

    One simple approach would be to use the !important modifier in css, but this can be overridden in the same way from users.

    Maybe a solution can be achieved with jquery by traversing the entire DOM to find your (re)defined classes and removing / forcing css styles.

提交回复
热议问题