Team:XMU Software/Team
From 2013.igem.org
(Difference between revisions)
YuezhenChen (Talk | contribs) |
YuezhenChen (Talk | contribs) |
||
Line 25: | Line 25: | ||
</div> | </div> | ||
<div class="home_s3l1"></div> | <div class="home_s3l1"></div> | ||
- | <canvas id="shadow" width="1347px" height="395px" style="border:1px solid #c3c3c3;"></canvas> | + | <div><canvas id="shadow" width="1347px" height="395px" style="border:1px solid #c3c3c3;"></canvas></div> |
</div> | </div> | ||
<div id="team_s1"> | <div id="team_s1"> | ||
Line 64: | Line 64: | ||
cxt.fillStyle=grd; | cxt.fillStyle=grd; | ||
cxt.fillRect(0,0,1348,395); | cxt.fillRect(0,0,1348,395); | ||
+ | |||
+ | var a=document.getElementById("shadow"); | ||
+ | var axt=a.getContext("2d"); | ||
+ | var grd=axt.createLinearGradient(20,10,1348,395); | ||
+ | grd.addColorStop(0,"#becbad"); | ||
+ | grd.addColorStop(0.5,"#e4d7aa"); | ||
+ | grd.addColorStop(1,"#becbad"); | ||
+ | axt.fillStyle=grd; | ||
+ | axt.fillRect(0,0,1348,395); | ||
+ | |||
</script> | </script> | ||
</html> | </html> |
Revision as of 15:36, 22 October 2013