Skip to content

Commit ac663f5

Browse files
committed
smoother transitions
1 parent c2bbbd1 commit ac663f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/css/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
// hide any image which goes outside the corner radius
218218
overflow: hidden;
219219
// black and white image with a nice fade to color
220-
transition: filter 0.3s ease, transform 0.3s ease;
220+
transition: filter 0.5s ease, transform 0.5s ease;
221221
filter: grayscale(100%);
222222
z-index: 1;
223223
}
@@ -254,7 +254,7 @@
254254
h2, p {
255255
z-index: 2;
256256
position: relative;
257-
transition: opacity 0.3s ease;
257+
transition: opacity 0.5s ease;
258258
}
259259
}
260260
}

0 commit comments

Comments
 (0)