[英]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?这些网站背后的技巧是什么,即使您打开开发人员工具并将宽度设置为低于 100 像素,一切都在同一个地方并且没有任何东西被破坏?
Should I create a wrapper for all the components and set a specific width and height?我应该为所有组件创建一个包装器并设置特定的宽度和高度吗?
it s not really a trick, it s just a min-width
to the container that just prevents the div from shrinking further.这并不是一个真正的技巧,它只是容器的
min-width
,它只是防止 div 进一步缩小。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.