We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4010ae6 commit 32e45e8Copy full SHA for 32e45e8
1 file changed
stylesheet.css
@@ -113,17 +113,32 @@ h2 {
113
width: 160px;
114
height: 160px;
115
position: relative;
116
+ overflow: hidden;
117
}
118
119
.two {
120
121
122
position: absolute;
123
+ top: 0;
124
+ left: 0;
125
transition: opacity .2s ease-in-out;
126
-moz-transition: opacity .2s ease-in-out;
127
-webkit-transition: opacity .2s ease-in-out;
128
129
130
+.two img, .two video {
131
+ width: 160px;
132
+ height: 160px;
133
+ object-fit: cover;
134
+}
135
+
136
+.one > img {
137
138
139
140
141
142
.fade {
143
144
0 commit comments