Styling for lists with HTMlL Elemnts in it

This commit is contained in:
reverend 2020-08-23 11:38:16 +02:00
parent aead863227
commit 381e3bcca0
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,14 @@
@mixin RV-ElementList {
&__Container {
list-style-type: none;
@include RV-Reset;
}
&__Item {
@include RV-Reset;
}
}
.RV-ElementList {
@include RV-ElementList;
}

View File

@ -0,0 +1,5 @@
{
"context": {
}
}

View File

@ -0,0 +1,9 @@
<div class="RV-ElementList">
<ul class="RV-ElementList__Container">
<li class="RV-ElementList__Item"><img src="https://via.placeholder.com/300" alt="300px"></li>
<li class="RV-ElementList__Item"><img src="https://via.placeholder.com/300" alt="300px"></li>
<li class="RV-ElementList__Item"><img src="https://via.placeholder.com/300" alt="300px"></li>
<li class="RV-ElementList__Item"><img src="https://via.placeholder.com/300" alt="300px"></li>
<li class="RV-ElementList__Item"><img src="https://via.placeholder.com/300" alt="300px"></li>
</ul>
</div>