image preview component

This commit is contained in:
cookfront
2017-03-03 15:46:26 +08:00
parent c794949c8d
commit 1cf5490f99
10 changed files with 103 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
@component-namespace zan {
@b image-preview {
position: absolute;
width: 100%;
height: 75%;
overflow: hidden;
@e image {
display: block;
width: 100%;
height: auto;
margin: 0 auto;
}
}
}

View File

@@ -19,3 +19,4 @@
@import './steps.css';
@import './tag.css';
@import './checkbox.css';
@import './image_preview.css';