Skip to content

Commit 86ab9a3

Browse files
authored
feat: add blur effect to background on result screen (#1253)
Change-Id: I944ab63e650f7b8c96d1430be8aad3a6f16e0fa5
1 parent b1a278c commit 86ab9a3

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

assets/sass/components/_stage.scss

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,38 @@
5353
--stage-color: var(--stage-result-color);
5454
--stage-background: var(--stage-result-background);
5555
--stage-background-size: var(--stage-result-scale-background);
56+
57+
position: relative;
58+
overflow: hidden;
59+
60+
&::before {
61+
content: '';
62+
position: absolute;
63+
inset: 0;
64+
background-image: var(--stage-background-image);
65+
background-position: center;
66+
background-size: cover;
67+
background-repeat: no-repeat;
68+
filter: blur(40px);
69+
transform: scale(1.1);
70+
z-index: 0;
71+
}
72+
73+
&::after {
74+
content: '';
75+
position: absolute;
76+
inset: 0;
77+
background-image: var(--stage-background-image);
78+
background-position: center center;
79+
background-repeat: no-repeat;
80+
background-size: var(--stage-background-size);
81+
z-index: 1;
82+
}
83+
84+
> * {
85+
position: relative;
86+
z-index: 2;
87+
}
5688
}
5789

5890
&-inner {

0 commit comments

Comments
 (0)