[英]How to build a tiled image gallery where the bottom is a straight line?
We can use a plugin like Masonary to grab a set of images and create a tiled image gallery. 我们可以使用Masonary之类的插件来抓取一组图像并创建一个平铺的图像库。 But most of the time the bottom of the gallery will not be a straight line.
但是大多数时候画廊的底部不会是一条直线。 How can we make sure the images are fit perfectly so that the bottom is straight like shown in this image :
我们如何确保图像完美契合,以使底部是直的,如下图所示:
Try the Justified Gallery . 尝试有道理的画廊 。 It has good animations and you can control it.
它具有良好的动画,您可以控制它。 It is straight.
是直的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.