File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
src/main/resources/scss/pages Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1111 }
1212}
1313
14+ @property --rotation {
15+ syntax : " <angle>" ;
16+ initial-value : 0deg ;
17+ inherits : false;
18+ }
19+
1420.app-home__side-by-side {
1521 position : relative ;
1622 display : grid ;
99105 display : inline-block ;
100106 position : relative ;
101107 width : 100% ;
102- margin : -10% ;
103108 aspect-ratio : 1 ;
104109 backdrop-filter : invert (2% ) blur (100px );
105110 mask-image : repeating-conic-gradient (
106- from 90 deg ,
111+ from var ( --rotation ) ,
107112 var (--background ) 0deg ,
108113 transparent 20deg
109114 );
110115 z-index : -1 ;
111116 opacity : 0.85 ;
112- flex : 1 ;
117+
113118 @media (prefers-reduced-motion : no- preference) {
114119 animation : sunburst- rotation 100s infinite linear ;
115120 }
118123
119124@keyframes sunburst-rotation {
120125 to {
121- transform : rotate ( 360deg ) ;
126+ --rotation : 360deg ;
122127 }
123128}
124129
You can’t perform that action at this time.
0 commit comments