UNPKG
@substrate-system/image
Version:
latest (0.0.23)
0.0.23
0.0.22
0.0.21
0.0.19
0.0.18
0.0.17
An image component
github.com/substrate-system/image
substrate-system/image
@substrate-system/image
/
example
/
preact-local.css
19 lines
(16 loc)
•
274 B
CSS
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.placeholder
,
.non-blurry-wrapper
{
display
: inline-block;
height
:
50vw
;
width
:
50vw
; }
.non-blurry-wrapper
{ &
img
{
max-width
:
100%
;
max-height
:
100%
; } }
.blur-test
,
.non-blurry-image
{ &
img
{
object-fit
: cover; } }