Regarding the issue of adding logo to web pages_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:05:23
Original
1540 people have browsed it

Beginner to learn HTML, CSS and JS
I downloaded the raindrop background special effect code from the Internet. I want to change it by myself and add a logo in the middle, but I have tried a lot and failed, so I asked for advice =. =
I know I'm stupid.
The following is the raindrop code

<html>	<head>	<title>逼真全屏雨滴插件rainyday</title>		<style media="screen" type="text/css">			img { display: none; }			body { overflow: hidden; }			#canvas { position: absolute; top: 0px; left: 0px; }		</style>		<script src="rainyday.js" type="text/javascript"></script>		<script type="text/javascript"> 			function demo() {				var engine = new RainyDay('canvas','demo1', window.innerWidth, window.innerHeight);				engine.gravity = engine.GRAVITY_NON_LINEAR;				engine.trail = engine.TRAIL_DROPS;				engine.rain([					engine.preset(0, 2, 500)				]);				engine.rain([					engine.preset(3, 3, 0.88),					engine.preset(5, 5, 0.9),					engine.preset(6, 2, 1),				], 100); 			}		</script>	</head>	<body onload="demo();">		<img id="demo1" src="data:image/jpeg;base64/>		<div id="cholder">			<canvas id="canvas"></canvas>		</div>        	</body></html>
Copy after login



The JS code will not be posted. Please take a look and guide me


Reply to discussion (solution)

Is it because it is a demo and cannot be added?

Use positioning to press up!

Use positioning to press up!

Try it later=. =

Use positioning to press up!

Although it doesn’t seem possible. But I solved it myself^.^
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template