Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

151
Views
Remove stylesheet only inside react app window

Image will best describe this:

![enter image description here

code sandbox:https://codesandbox.io/s/annoying-stylesheet-2gpejc?file=/public/index.html

I'm writing React app inside non react app and their styles interfere with my React app styles.

How do I overwrite bootstrap-enterprise.css stylesheet only for the region of my React app without overriding the style rest for the rest of the page (The top app bar is theirs)

Edit:

.App {
  all: revert;
}

worked initially, but then I tried it my real usecase (overrding Mui Textfield styling component) and it didn't. i edited the codesandbox for the exact case.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Since your React app is separated from the rest of the app, you could use the all css property to reset all the styles inside your React app before to write yours :

/* Affect all the elements under .App */
.App * {
  all: unset
}

In your codesandbox, adding it at the top of your styles.css seems to work fine.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!