body {
background: #d8d8d8;
}
#ticket {
-webkit-transform: rotate(359deg);
-moz-transform: rotate(359deg);
-ms-transform: rotate(359deg);
-o-transform: rotate(359deg);
transform: rotate(359deg);
margin: 40px auto;
width: 400px;
}
#ticket > div {
-webkit-background-clip: content-box;
-moz-background-clip: content-box;
background-clip: content-box;
-webkit-background-size: 400px 162px;
-moz-background-size: 400px 162px;
background-size: 400px 162px;
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25), 0 0 50px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25), 0 0 50px rgba(0, 0, 0, 0.1) inset;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25), 0 0 50px rgba(0, 0, 0, 0.1) inset;
width: 400px;
height: 162px;
background: #fff url("http://lorempixel.com/output/city-q-c-400-162-9.jpg") no-repeat 0 0;
position: relative;
}
#ticket > div:before {
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
width: 105px;
height: 30px;
-webkit-transform: translate(44px, -10px) skew(0deg) rotate(-45deg);
-moz-transform: translate(44px, -10px) skew(0deg) rotate(-45deg);
-ms-transform: translate(44px, -10px) skew(0deg) rotate(-45deg);
-o-transform: translate(44px, -10px) skew(0deg) rotate(-45deg);