UNPKG
@nichoth/image
Version:
latest (0.0.14)
0.0.14
0.0.13
0.0.11
0.0.10
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
An image component
github.com/nichoth/image
nichoth/image
@nichoth/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; } }