Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 380a89f

Browse files
Updated UI
1 parent a77f6d5 commit 380a89f

File tree

1 file changed

+9
-6
lines changed
  • Challenges/Day 01 - JavaScript Drum Kit

1 file changed

+9
-6
lines changed

‎Challenges/Day 01 - JavaScript Drum Kit/style.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33
html {
44
font-size: 10px;
55
background: #2980b9; /* fallback for old browsers */
6-
background: -webkit-linear-gradient(to right, #2c3e50, #2980b9); /* Chrome 10-25, Safari 5.1-6 */
7-
background: linear-gradient(
8-
to right,
9-
#2c3e50,
10-
#2980b9
11-
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
6+
background: linear-gradient(300deg, deepskyblue, darkviolet, blue);
7+
background-size: 180% 180%;
8+
animation: gradient-animation 18s ease infinite;
129
}
1310

1411
body,
@@ -111,3 +108,9 @@ input[type='button'] {
111108
background: rgba(0, 0, 0, 0.4);
112109
text-shadow: 0 0 5px black;
113110
}
111+
112+
@keyframes gradient-animation {
113+
0% { background-position: 0% 50%; }
114+
50% { background-position: 100% 50%; }
115+
100% { background-position: 0% 50%; }
116+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /