Skip to content

Instantly share code, notes, and snippets.

@steven-prybylynskyi
Created February 13, 2015 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steven-prybylynskyi/4740ff06ad85a3ef4f85 to your computer and use it in GitHub Desktop.
Save steven-prybylynskyi/4740ff06ad85a3ef4f85 to your computer and use it in GitHub Desktop.
Untitled
div {
width: 100px;
height: 100px;
}
.a {
position: relative;
background-color: #aaf;
border-radius: 20px;
}
.gray{
position: absolute;
bottom: 0;
height: 20px;
background-color: #888;
left: 0;
right: 0;
border-radius: 0 0 20px 20px;
}
.tp {
position: absolute;
left: 10px;
background-color: #afa;
width: 80px;
}
<div class="a">
<div class="gray"></div>
<div class="tp">TrustPilot</div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"result"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment