I haven't done much of anything with CSS perspective or animations, so I just figured I'd start my day off following a simple tutorial blogged by David Walsh (http://davidwalsh.name/css-cube).
A Pen by A Non Ymous on CodePen.
I haven't done much of anything with CSS perspective or animations, so I just figured I'd start my day off following a simple tutorial blogged by David Walsh (http://davidwalsh.name/css-cube).
A Pen by A Non Ymous on CodePen.
//Call in the jquery library needed for this function. | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
//Begin script. | |
<script type="text/javascript"> | |
<style type="text/css"> | |
.items {display:table;list-style:none;margin:0;padding:0;border-spacing:5px;} | |
.items li {display:table-cell;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;border:1px solid #ccc;padding:5px;margin:0 0 10px 0;} | |
.items li img {display:table-cell;vertical-align:top;} | |
.items li span.meta {display:table-cell;vertical-align:top;margin:0;padding:0 0 0 5px;} | |
.items li {margin:0 0 5px 0;} | |
</style> | |