(Created page with "<!doctype html> <html> <head> <meta charset="utf-8"> <script src="js/jquery.min.js"></script> <style> * { box-sizing: border-box; padding: 0; margin: 0; } body { b...") |
|||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{NAU-CHINA/ResetCSS}} | |
<html> | <html> | ||
<head> | <head> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<style> | <style> | ||
* { | * { | ||
Line 20: | Line 15: | ||
#starsBox { | #starsBox { | ||
position: fixed; | position: fixed; | ||
− | top: | + | top: 75px; |
left: 0; | left: 0; | ||
right: 0; | right: 0; | ||
− | bottom: | + | bottom: 0px; |
background: rgba(0, 0, 0, 0.75); | background: rgba(0, 0, 0, 0.75); | ||
opacity: .5; | opacity: .5; | ||
Line 41: | Line 36: | ||
<div id="starsBox"></div> | <div id="starsBox"></div> | ||
− | + | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
var cols = ['#f5d76e','#f7ca18','#f4d03f','#ececec','#ecf0f1','#a2ded0']; | var cols = ['#f5d76e','#f7ca18','#f4d03f','#ececec','#ecf0f1','#a2ded0']; | ||
− | var stars = | + | var stars = 200; |
for (var i = 0; i <= stars; i++) { | for (var i = 0; i <= stars; i++) { | ||
Line 67: | Line 62: | ||
}, 100000); | }, 100000); | ||
</script> | </script> | ||
+ | |||
+ | |||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 15:34, 2 October 2018