如何根据盒子数量调整大小 [英] How can I adjust the size according to the number of boxes

查看:131
本文介绍了如何根据盒子数量调整大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

申请图片如下



截图





1 - 每个容器div

2 - 每隔10秒触发一次功能

3 - 根据结果;盒子数量增加或盒子数量减少

-增加尺寸盒子的数量需要更小

-减少增加盒子所需的盒子数量尺寸





如何设计这种结构最容易?

解决方案

< blockquote> *当前宽度百分比

*问题包括2或3个盒子厚

*因为屏幕只剩下2个小盒子


Image of the application is as follows

Screenshot


1-each container div
2-There is a function that is triggered every 10 seconds
3-According to the result; The number of boxes increases or The number of boxes is reduced
-increases the number of boxes of size needs to be smaller
-decreases the number of boxes needed to increase the size


How do I design this structure is most easily?

解决方案

* current percentage of width
* problem consists of 2 or 3 boxes thick
* because the screen stays only 2 small box


这篇关于如何根据盒子数量调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆