Adding Image Component

This commit is contained in:
reverend 2020-07-31 23:35:01 +02:00
parent 07830c671d
commit 013769597d
4 changed files with 31 additions and 0 deletions

View File

@ -5,3 +5,4 @@
@import 'button/button'; @import 'button/button';
@import 'checkbox/checkbox'; @import 'checkbox/checkbox';
@import 'input/input'; @import 'input/input';
@import 'image/image';

View File

@ -0,0 +1,4 @@
.LP-Image{
max-width:100%;
max-height:100%;
}

View File

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

View File

@ -0,0 +1,23 @@
<img src="/images/photo_2020-05-02_18-11-21.jpg" class="LP-Image"/>
<div style="height: 80px;width: 40px; background-color: green;">
<img src="/images/photo_2020-05-02_18-11-21.jpg" class="LP-Image"/>
</div>
<p></p>
<div style="height: 40px;width: 80px;background-color: green;">
<img src="/images/photo_2020-05-02_18-11-21.jpg" class="LP-Image"/>
</div>
<p></p>
<div style="height: 80px;width: 40px;background-color: green;">
<img src="/images/ice-vertical-panorama.jpg" class="LP-Image"/>
</div>
<p></p>
<div style="height: 40px;width: 80px;background-color: green;">
<img src="/images/ice-vertical-panorama.jpg" class="LP-Image"/>
</div>