Team:XMU Software/Team
From 2013.igem.org
(Difference between revisions)
YuezhenChen (Talk | contribs) |
YuezhenChen (Talk | contribs) |
||
Line 67: | Line 67: | ||
cxt.fillRect(0,0,1348,395); | cxt.fillRect(0,0,1348,395); | ||
- | + | var c1=document.getElementById("shadow"); | |
- | + | var cxt1=c1.getContext("2d"); | |
- | + | var grd1=cxt1.createLinearGradient(420,500,500,105); | |
- | + | grd1.addColorStop(0,"#becbad"); | |
- | + | grd1.addColorStop(0.5,"#e4d7aa"); | |
- | + | grd1.addColorStop(1,"#becbad"); | |
- | + | cxt1.fillStyle=grd1; | |
- | + | cxt1.fillRect(420,500,500,105); | |
- | + | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 16:06, 22 October 2013