Peter Wu
Peter Wu

Reputation: 49

Change body style back to none

I am using React to implement my application. The initial of Body CSS is nothing after render the app. However, it added the position: relative after rendering some scripts. Is there any way to change back to none? Is the useEffect in react can possible to do it?

Initial:
Initial

After rendered the script:
After

Sorry for my bad English and thank you.

Upvotes: 0

Views: 122

Answers (1)

godfather
godfather

Reputation: 1563

you can override it by adding to your css body{position:unset!important}

Upvotes: 1

Related Questions