mirror of
https://github.com/krahets/hello-algo.git
synced 2026-02-03 02:43:41 +08:00
Add starfield.js in the landing page. (#1833)
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<!-- Section: hero -->
|
||||
<section data-md-color-scheme="slate" data-md-color-primary="grey" class="home-div" style="height: min(100vh, 120vw); position: relative; margin-top:-2.4rem; padding: 0; overflow: hidden;">
|
||||
<!-- hero image -->
|
||||
<img src="../assets/hero/universe_bg.png" class="hero-bg" alt="">
|
||||
<!-- <img alt="" class="hero-bg" src="assets/hero/universe_bg.png" /> -->
|
||||
<div class="starfield">
|
||||
<div class="starfield-origin"></div>
|
||||
</div>
|
||||
<div class="hero-div">
|
||||
<img src="../assets/hero/ground.png" alt="" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;">
|
||||
<img src="../assets/hero/links.png" alt="" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;">
|
||||
|
||||
Reference in New Issue
Block a user