Skip to content

Commit da4b443

Browse files
committed
Consolidate animations
1 parent e2b4ca2 commit da4b443

File tree

3 files changed

+21
-24
lines changed

3 files changed

+21
-24
lines changed

_sass/_animations.scss

Lines changed: 0 additions & 21 deletions
This file was deleted.

_sass/_base.scss

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,29 @@ nav {
308308
}
309309
}
310310

311-
/*
312-
Global animation transition
311+
/* ==========================================================================
312+
ANIMATIONS
313313
========================================================================== */
314314

315+
@-webkit-keyframes intro {
316+
0% {
317+
opacity: 0;
318+
}
319+
100% {
320+
opacity: 1;
321+
}
322+
}
323+
324+
@keyframes intro {
325+
0% {
326+
opacity: 0;
327+
}
328+
100% {
329+
opacity: 1;
330+
}
331+
}
332+
333+
/* Global animation transition */
315334
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser {
316335
-webkit-transition: $global-transition;
317336
transition: $global-transition;

assets/css/main.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"base",
1818

1919
"utilities",
20-
"animations",
2120
"tables",
2221
"buttons",
2322
"notices",

0 commit comments

Comments
 (0)