-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimage-renderer.css
More file actions
37 lines (37 loc) · 808 Bytes
/
image-renderer.css
File metadata and controls
37 lines (37 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
img.wpsmartcrop-image {
opacity : 0;
transition : opacity 0.2s;
overflow : hidden;
o-object-fit : cover;
object-fit : cover;
}
img.wpsmartcrop-image.wpsmartcrop-rendered {
opacity : 1;
}
img.wpsmartcrop-image + div.wpsmartcrop-overlay {
position : absolute;
margin : 0;
padding : 0;
overflow : hidden;
opacity : 0;
transition : opacity 0.2s;
}
img.wpsmartcrop-image + div.wpsmartcrop-overlay.wpsmartcrop-overlay-rendered {
opacity : 1;
}
img.wpsmartcrop-image + div.wpsmartcrop-overlay img {
position : absolute;
top : auto;
right : auto;
bottom : auto;
left : auto;
margin : 0;
padding : 0;
overflow : hidden;
min-width : 0;
max-width : none;
min-height : 0;
max-height : none;
width : auto;
height : auto;
}