IT이야기/태그연습장2018. 10. 4. 04:08

https://colorscripter.com/

사이트를 이용하면 된다.




<!DOCTYPE html>
<html>
<title>Timetable</title>
<body>
<marquee scrollamount="120" behavior="alternate">
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/>
<canvas id="myCanvas" width="200" height="150" style="border:0px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.</canvas>
<script>
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.beginPath();
ctx.arc(80, 70, 70, 0, 2 * Math.PI);
var objGradient = ctx.createLinearGradient(0,0,400,0);
objGradient.addColorStop(0,"orange");
objGradient.addColorStop(1,"yellow");
ctx.fillStyle = objGradient;
ctx.fill();
ctx.stroke();
</script>
<br/>
</body>
</html>


'IT이야기 > 태그연습장' 카테고리의 다른 글

영어공부하기  (0) 2018.10.16
self emdr  (0) 2018.10.04
Posted by Joseph514