mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
13 lines
255 B
HTML
13 lines
255 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<canvas width="200" height="200"></canvas>
|
|
<script>
|
|
var canvas = document.querySelector("canvas");
|
|
var context = canvas.getContext("2d");
|
|
context.fillStyle = "red";
|
|
context.fillRect(0, 0, 200, 200);
|
|
</script>
|
|
</body>
|
|
</html>
|