Skip to content

Commit 885c138

Browse files
Update background gradient with variable position
1 parent e3e2e01 commit 885c138

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ main.container {
7878
position: absolute;
7979
width: 1000px;
8080
height: 1000px;
81-
background: radial-gradient(circle, rgba(0, 217, 255, 0.22), transparent 65%);
81+
background: radial-gradient(circle at var(-x) var(-y),
82+
rgba(0, 217, 255, 0.22), transparent 65%);
8283
top: -300px;
8384
left: -300px;
8485
filter: blur(42px);

0 commit comments

Comments
 (0)