Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
#canvas {
width: 300px;
height: 200px;
background: #ccc;
position: relative;
}
#inline {
position: absolute;
top: 50px;
left: 100px;
font: 50px/1 Ahem;
color: red;
}
#fixed {
position: absolute;
top: 10px;
left: 10px;
width: 30px;
height: 30px;
background: blue;
}
</style>
<div id="canvas">
<div id="inline">X<span id="fixed"></span></div>
</div>