Skip to content

Instantly share code, notes, and snippets.

@Codyzhao
Created September 15, 2019 02:57
Show Gist options
  • Save Codyzhao/c7f691cb3f52031f45cec37815e8e8de to your computer and use it in GitHub Desktop.
Save Codyzhao/c7f691cb3f52031f45cec37815e8e8de to your computer and use it in GitHub Desktop.
Untitled
.parent {
position: relative;
width: 500px;
height: 500px;
background-color: grey;
}
.child {
position: absolute;
top: 50px;
left: 100px;
width: 100px;
height: 100px;
background: white;
text-align: center;
line-height: 100px;
}
<div class="parent">
<div class="child">Test</div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment