Skip to content

Instantly share code, notes, and snippets.

@andrewjfrancis
Last active August 29, 2015 14:02
Show Gist options
  • Save andrewjfrancis/cb90717cbdc8cc25c39a to your computer and use it in GitHub Desktop.
Save andrewjfrancis/cb90717cbdc8cc25c39a to your computer and use it in GitHub Desktop.
A Pen by Andrew J. Francis.
<html lang="en">
<head>
<meta charset="utf-8">
<title>ScratchPad</title>
<style type="text/css">
body { margin: 40px; }
#one { background-color: #cccccc; position: relative; width: 400px; height: 200px; }
#two { background-color: #ededed; position: absolute; width: 80px; margin: 4px 0 0 8px; }
input { height: 20px; }
</style>
</head>
<body>
<div id="one">
<div>div</div>
<div>div</div>
<div id="two">test</div>
<input />
</div>
</body>
</html>

Quick CSS Question

This might work. But let me know if I need to try something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment