mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
21 lines
355 B
HTML
21 lines
355 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>Styling the CANVAS element</title>
|
|
<style type="text/css">
|
|
canvas{
|
|
position: absolute;
|
|
top:37px; left:4em;
|
|
background:lime;
|
|
border:.5em solid black;
|
|
height:1em;
|
|
width:1em;
|
|
display:block;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<canvas></canvas>
|
|
</body>
|
|
</html>
|