UNPKG

antd-mobile

Version:

<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />

29 lines (26 loc) 516 B
.adm-image { --width: var(--adm-image-width, auto); --height: var(--adm-image-height, auto); width: var(--width); height: var(--height); display: block; overflow: hidden; } .adm-image-img { width: 100%; height: 100%; } .adm-image-tip { position: relative; background-color: #f3f3f3; height: 100%; min-height: 48px; min-width: 48px; } .adm-image-tip > .antd-mobile-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--adm-color-weak); }