简体   繁体   中英

Responsive UI below 100px

What's the trick behind those websites that even if you open the developer tools and set the width below 100px everything is the same place and nothing is breaking?

Should I create a wrapper for all the components and set a specific width and height?

在此处输入图像描述

You don't have to bother for such low resolutions, because there isn't any device that will need that. The lowest resolution you should aim for is 320px .

Read here for a better understanding.

it s not really a trick, it s just a min-width to the container that just prevents the div from shrinking further.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM