Topic: css error
import 'mdb-react-ui-kit/dist/css/mdb.min.css
when i add this my whole page bg changing into white
Mateusz Lazaru staff answered 8 months ago
That's not a bug, that's a reboot page default styles.
It changes body
bg to the value stored in --mdb-body-bg
CSS variable. You can override it in your style.css
file.
/* style.css */
:root {
--mdb-body-bg: yellow;
}
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 7.2.0
- Device: acer
- Browser: chrome
- OS: 11
- Provided sample code: No
- Provided link: No