Skip to content

Instantly share code, notes, and snippets.

@victordarras
Last active December 22, 2015 00:38
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 victordarras/6390449 to your computer and use it in GitHub Desktop.
Save victordarras/6390449 to your computer and use it in GitHub Desktop.
body {
margin: 50px auto;
max-width: 500px;
}
#board {
float: left;
-webkit-transform: perspective( 500px ) rotateX( 45deg ) rotateY( 0deg ) rotateZ( 45deg );
box-shadow: 30px 30px 105px rgba(0,0,0,0.3) , 5px 5px 15px rgba(0,0,0,0.1);
border-bottom: 2px solid blue;
border-right: 2px solid red;
border-radius: 2px;
}
#board td {
border: 1px solid #fff;
-webkit-transform-style: preserve-3d;
}
#stash {
max-width: 220px;
margin-left: 280px;
}
form {
clear: both;
}
form input {
cursor: pointer;
float: right;
margin: 20px;
border: 1px solid #ffd39b;
border-radius: 32px;
background: linear-gradient(#fec,#ffd39b);
height: 32px;
padding: 0 15px;
}
form input:hover {
background: linear-gradient(#ffc,#ffd39b);
}
form input:active {
background: linear-gradient(#ffd39b,#fec);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment