<ul>
<li>pommes</li>
<li>oranges</li>
<li>pêches</li>
</ul>
<ul{% if class %} class="{{class}}"{% endif %}>
{%- for item in list -%}
<li{% if item.class %} class={{ item.class}}{% endif %}>{{ item.item | safe }}</li>
{%- endfor -%}
</ul>
{
"list": [
{
"item": "pommes"
},
{
"item": "oranges"
},
{
"item": "pêches"
}
]
}
@charset 'UTF-8';
/**
* List
*/
ul {
list-style-type: disc;
}
ol,
ul {
padding-left: 40px;
}
/**
* multi column list
*/
ul.vd-list-columns {
@include media-breakpoint-up(sm) {
column-count: 2;
}
}
No notes defined.