How do develop for multiple screens?

When working with react and TailwindCSS(or any kind of CSS), i usually build layouts for multiple screensizes either by using media querries or screen breakpoints. How can i do that here?

Hi, there is no direct way of doing that, you would have to use the width and Height of each component to define it


in advanced, you can use a formula, where you can have screen size as a variable. that way your content adapts accordingly

2 Likes