зеркало из https://github.com/mozilla/pjs.git
16 строки
466 B
HTML
16 строки
466 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<body>
|
|
<div style="-moz-transform:translate(0.4px); opacity:0.999; border-left:1px solid red; width:12px;">
|
|
<div style="-moz-transform:translate(0.4px); opacity:0.999; border-left:1px solid rgb(0,255,0);">
|
|
<canvas width="10" height="10" id="c" style="display:block"></canvas>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
var ctx = document.getElementById("c").getContext("2d");
|
|
ctx.fillStyle = "black";
|
|
ctx.fillRect(0, 0, 10, 10);
|
|
</script>
|
|
</body>
|
|
</html>
|