【发布时间】:2014-06-20 10:50:53
【问题描述】:
我需要实现以下网格(这是桌面版):
到目前为止,我已经列出了图像,在每个图像之后添加了分隔符并尝试将此插件:https://github.com/brunjo/rowGrid.js 应用于容器。 分隔符也是一张图片,它必须是响应式的,在桌面上我需要连续 4 个,但在平板电脑上需要 6 个。到目前为止,这是我的 html:
<div id="competences">
{% for competence in competences %}
<div class="item-c">
<a href="">
<img src="/uploads/competence/{{ competence.logo }}" alt="{{ competence.name }}">
</a>
<img src="{{ asset('bundles/aeliusfront/images/competencies_separator.png') }}" class="cross_separator">
</div>
{% endfor %}
</div>
任何帮助,想法将不胜感激,谢谢。
附言。平板版必须是全角的,并且必须在一行中包含6张图片,并且样式相同(分隔符)
【问题讨论】:
标签: css dynamic responsive-design grid image-gallery