New component

This commit is contained in:
2020-08-21 17:51:22 +02:00
parent 066de9a052
commit e56415913f
6 changed files with 43 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
@mixin RV-Fan {
&__Container {
display: flex;
&--horizontal {
flex-direction: row;
}
&--vertical {
flex-direction: column;
}
}
}
.RV-Fan {
@include RV-Fan;
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,8 @@
<div class="RV-Fan__Container RV-Fan__Container--horizontal">
<div class="landscape red RV-Fan__Base"></div>
<div class="green RV-Fan__Surface">
<p>Some content here</p>
<p>More conthent over here</p>
<p>And something here</p>
</div>
</div>