Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

153
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda