Skip to content

Instantly share code, notes, and snippets.

@lensco
Forked from chriscoyier/dabblet.css
Created February 24, 2012 21:29
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 lensco/1903870 to your computer and use it in GitHub Desktop.
Save lensco/1903870 to your computer and use it in GitHub Desktop.
Untitled
.userContent {
padding: 0 5px;
width: 230px;
animation: myfirst 1s;
background: limegreen;
height: 40px;
line-height:40px;
float:left;
}
.arrow-right {
animation: myfirst 1s;
float:left;
width: 0;
height: 0;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-left: 20px solid limegreen;
}
.tablecontent {
margin: 0 7px;
border: 2px solid limegreen;
padding: 2px 3px;
width: 50%;
box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.17);
}
.user {
animation: myfirst 1s;
}
@keyframes myfirst {
from { width: 0px; opacity: 0; }
to { width: 230px; opacity: 1;}
}
body {
padding: 20px;
}
* { margin: 0; padding: 0; }
<div class="userContent"><p class="user">Username here</p></div>
<div class="arrow-right"></div>​
{"view":"split","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment