如何为容器Mason插件指定自定义宽度和高度

时间:2014-02-02 07:37:41

标签: jquery html css jquery-masonry

我正在使用Mason插件,看起来很烦人每次我给自定义宽度和高度都会失败

#grid {
    width: 655px;
    height:188px;
    position: relative;
}
#gallery {
    width: 655px;
    height:188px;
        position: relative;
}

enter image description here

如图所示,容器是那个尺寸,但盒子的尺寸太大,所以它打破了容器,也发现了间隙

使用:https://github.com/DrewDahlman/Mason

所需的宽度和高度为W:655px X H:188px随机图像网格生成器

由于插件提供的信息很少,因为它无法正常工作

0 个答案:

没有答案
相关问题