Team:XMU Software/Team
From 2013.igem.org
(Difference between revisions)
YuezhenChen (Talk | contribs) |
YuezhenChen (Talk | contribs) |
||
Line 42: | Line 42: | ||
</div> | </div> | ||
</body> | </body> | ||
+ | <script> | ||
+ | var c=document.getElementById("myCanvas"); | ||
+ | var cxt=c.getContext("2d"); | ||
+ | var grd=cxt.createLinearGradient(20,10,1348,395); | ||
+ | grd.addColorStop(0,"#becbad"); | ||
+ | grd.addColorStop(0.5,"#e4d7aa"); | ||
+ | grd.addColorStop(1,"#becbad"); | ||
+ | cxt.fillStyle=grd; | ||
+ | cxt.fillRect(0,0,1348,395); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 02:51, 22 October 2013