Create div which keep your nav and logo into one ( I gave him class .all), we want background on whole content. How to make a Div full screen in JavaScript? To learn more, see our tips on writing great answers. react-responsive is an npm package that allows you to create truly responsive designs in your React projects. rev2023.1.18.43173. The w3-mobile class adds mobile-first responsiveness to any element. Learn how to create a responsive table. The total width is now four fraction units, and the second one takes up two of them, while the others take up one each. So, if you're working on a legit site, you might want to check out this viewport buggy fill. Hi, If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:
,
make div responsive to screen size