mirror of
https://github.com/johnggli/linktree.git
synced 2026-08-16 22:46:04 +01:00
fix: linear-gradient color
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
--bgColor: #223344;
|
--bgColor: #223344;
|
||||||
--accentColor: #E6E6E6;
|
--accentColor: #E6E6E6;
|
||||||
--font: 'Karla', sans-serif;
|
--font: 'Karla', sans-serif;
|
||||||
--delay: .5s;
|
--delay: .3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@@ -95,7 +95,7 @@ body {
|
|||||||
|
|
||||||
/* animation */
|
/* animation */
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: linear-gradient(90deg, #000, #fff, #000);
|
background: linear-gradient(90deg, var(--bgColor), #fff, var(--bgColor));
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 80%;
|
background-size: 80%;
|
||||||
animation: animate 3s linear var(--delay) infinite;
|
animation: animate 3s linear var(--delay) infinite;
|
||||||
|
|||||||
Reference in New Issue
Block a user