Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit d5e9be3

Browse files
authored
Merge pull request #17 from chicio/remove-gsap 🚀
Remove gsap
2 parents 99246a7 + e47a182 commit d5e9be3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+161
-164
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Change Log
22
All changes to Chicio coding will be documented in this file.
33

4+
## [1.9.0](https://github.com/chicio/chicio.github.io/releases/tag/1.9.0)
5+
Release date: 2019-05-09.
6+
7+
#### Added
8+
9+
- bye bye gsap, I want speed with css animation!!!
10+
411
## [1.8.0](https://github.com/chicio/chicio.github.io/releases/tag/1.8.0)
512
Release date: 2019-05-09.
613

_css/common.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,19 @@ canvas {
3434
background-color: $primary-color;
3535
}
3636

37+
@keyframes show-lazy-element-animation {
38+
from {opacity: 0;}
39+
to {opacity: 1;}
40+
}
41+
3742
.lazy {
3843
background-color: $divider-color;
3944
}
4045

46+
.lazy-show {
47+
animation: show-lazy-element-animation 0.5s;
48+
}
49+
4150
.break {
4251
display: inline
4352
}

_css/loader.scss

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
@mixin keyframes($animationName) {
2-
@-webkit-keyframes #{$animationName} {
3-
@content;
4-
}
5-
6-
@-moz-keyframes #{$animationName} {
7-
@content;
8-
}
9-
10-
@-o-keyframes #{$animationName} {
11-
@content;
12-
}
13-
14-
@keyframes #{$animationName} {
15-
@content;
16-
}
17-
}
18-
191
.loader {
202
border: 5px solid $general-background;
213
border-top: 5px solid $accent-color;
@@ -28,9 +10,19 @@
2810
top: 50%;
2911
left: 50%;
3012
margin: -60px 0 0 -60px;
13+
14+
&.hide {
15+
animation: hide 0.3s linear;
16+
animation-fill-mode: forwards;
17+
}
18+
}
19+
20+
@keyframes hide {
21+
from {opacity: 1;}
22+
to {opacity: 0;}
3123
}
3224

33-
@include keyframes(spin) {
25+
@keyframes spin {
3426
0% {
3527
transform: rotate(0deg);
3628
}

_css/profile-introduction.scss

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@
1515
left: 0;
1616
background-color: #3F51B5;
1717
opacity: 0;
18+
19+
&.show {
20+
animation: show-rendering-surface 0.5s linear;
21+
animation-fill-mode: forwards;
22+
}
23+
24+
@keyframes show-rendering-surface {
25+
from {opacity: 0;}
26+
to {opacity: 1;}
27+
}
1828
}
1929

2030
.center-content {
@@ -23,6 +33,16 @@
2333
z-index: 100;
2434
opacity: 0;
2535

36+
&.show {
37+
animation: show-profile-introduction 0.5s linear 0.3s;
38+
animation-fill-mode: forwards;
39+
}
40+
41+
@keyframes show-profile-introduction {
42+
from {opacity: 0;}
43+
to {opacity: 1;}
44+
}
45+
2646
a {
2747
text-decoration: none;
2848
}
@@ -68,6 +88,16 @@
6888
margin-left: auto;
6989
margin-right: auto;
7090

91+
&.show {
92+
animation: show-profile-buttons 0.5s linear 0.3s;
93+
animation-fill-mode: forwards;
94+
}
95+
96+
@keyframes show-profile-buttons {
97+
from {opacity: 0;}
98+
to {opacity: 1;}
99+
}
100+
71101
.profile-icon {
72102
padding-left: 5px;
73103
padding-right: 5px;
@@ -96,6 +126,16 @@
96126
text-align: center;
97127
color: $primary-color-text;
98128
opacity: 0;
129+
130+
&.show {
131+
animation: show-down-arrow 0.5s;
132+
animation-fill-mode: forwards;
133+
}
134+
135+
@keyframes show-down-arrow {
136+
from {opacity: 0;}
137+
to {opacity: 1;}
138+
}
99139
}
100140
}
101141

_includes/critical.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.archive.css?rev=a41393a0652f304beb44c5e410fe95e6">
1+
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.archive.css?rev=da9f35d89cf58f6a05aac6a0b0718ad1">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.home.css?rev=289c072731f88281811cd88618f289f4">
1+
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.home.css?rev=3e2f91062ccc3779f9f16d271b1249a3">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.post.css?rev=94d16ba2198a523b645fdc41b6e91dcc">
1+
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.post.css?rev=0b157909853423ba3f33eb6e08a54252">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.tags.css?rev=065b461ebf01d5e0b4a34df3f0905fa0">
1+
<link rel="stylesheet" type="text/css" href="/assets/styles/style.blog.tags.css?rev=465221b7379c0ae38d608d1e6d653dd0">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" type="text/css" href="/assets/styles/style.cookiepolicy.css?rev=2bd3d2962fe7a38453e201b1aa5afaeb">
1+
<link rel="stylesheet" type="text/css" href="/assets/styles/style.cookiepolicy.css?rev=816b132770c5bd5a3544a729b17436b1">

0 commit comments

Comments
 (0)