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

260
Views
Componentes con estilo de Material UI V5 en React: siga generando nuevo CSS mientras el componente se vuelve a renderizar

Problema: estoy usando componentes con estilo de '@mui/styles'. Siguió generando nuevo CSS después de que agregué un pseudo elemento (::before) al Contenedor. Si me gustaría usar componentes con estilo de material ui. ¿Cómo puedo arreglarlo? gracias.

 import { Box, Theme } from '@mui/material' import { styled } from '@mui/styles' export const Container = styled(Box)(({ theme }: { theme: Theme }) => ({ position: 'relative', width: '100%', maxWidth: '640px', margin: '0 auto', padding: '24px 24px 32px 24px', borderRadius: '20px', boxShadow: '0px 0px 20px -10px rgba(255, 255, 255, 0.5), 0px 30px 80px -60px #0c58ff, 0px 100px 180px -100px #00ff57', '&::before': { content: '""', position: 'absolute', top: 0, left: 0, width: '100%', height: '100%', background: 'radial-gradient(22.65% 3.56% at 50% 23.63%, #0050FF 0%, rgba(6, 45, 130, 0.511368) 63.46%, rgba(6, 45, 130, 0) 100%), linear-gradient(119.51deg, #0E0F28 19.73%, #000113 100%)', }}))

sin parar de generar nuevo CSS

about 4 years ago · Juan Pablo Isaza
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!