Adding Image Component
This commit is contained in:
parent
07830c671d
commit
013769597d
@ -5,3 +5,4 @@
|
||||
@import 'button/button';
|
||||
@import 'checkbox/checkbox';
|
||||
@import 'input/input';
|
||||
@import 'image/image';
|
||||
|
4
components/01_Atoms/image/_image.scss
Normal file
4
components/01_Atoms/image/_image.scss
Normal file
@ -0,0 +1,4 @@
|
||||
.LP-Image{
|
||||
max-width:100%;
|
||||
max-height:100%;
|
||||
}
|
3
components/01_Atoms/image/image.config.json
Normal file
3
components/01_Atoms/image/image.config.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
23
components/01_Atoms/image/image.hbs
Normal file
23
components/01_Atoms/image/image.hbs
Normal 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>
|
Loading…
Reference in New Issue
Block a user