File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed
Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 2424 < style >
2525
2626 html
27- {font-family : allura;color : # c5a880 }
27+ {font-family : allura;color : # c5a880; background : # 00101a }
2828
2929 body
30- {overflow : hidden;background : # 00101a }
30+ {overflow : hidden;background : # 00101a; opacity : 0 ; transition : all 1 s }
3131
3232 canvas
3333 {position : fixed;width : 100vw ;height : 100vh }
4646 {position : absolute;bottom : 0 ;left : 0 ;right : 0 ;margin : auto;text-align : center}
4747
4848 h3
49- {font-size : 50px }
49+ {position : absolute; bottom : 100 px ; left : 0 ; right : 0 ; margin : auto; text-align : center; font-size : 50px }
5050
5151 # loading
52- {font-size : 50px }
52+ {position : absolute; bottom : 20 px ; left : 0 ; right : 0 ; margin : auto; text-align : center; font-size : 50px }
5353
5454
5555
7979 </ h2 >
8080
8181
82- < div id = info >
83- < h3 >
84- click -
85- < span id = play >
86- play
87- </ span >
88- </ h3 >
89- < div id = loading >
90- loading ...
91- </ div >
82+ < h3 >
83+ click -
84+ < span id = play >
85+ play
86+ </ span >
87+ </ h3 >
88+
89+
90+ < div id = loading >
91+ loading ...
9292 </ div >
93+
9394
9495
9596 </ body >
@@ -194,10 +195,11 @@ <h3>
194195
195196 //:
196197
198+ window . onload = e => document . body . style . opacity = 1 ;
197199
198- window . addEventListener ( ' resize' , resize ) ;
200+ window . onresize = resize ;
199201
200- document . body . onclick = e => { console . log ( 'click' ) ;
202+ document . body . onclick = e => { console . log ( 'click' ) ;
201203
202204 if ( ! analyser ) {
203205 console . log ( analyser ) ;
You can’t perform that action at this time.
0 commit comments