- /**
- * The first commented line is your dabblet’s title
- */
- body {
- -webkit-perspective: 900;
- background:#E7E7E7;
- }
- .doorway {
- background: url('http://dl.dropbox.com/u/6727078/dursos-site.jpg');
- width: 250px;
- height: 350px;
- border: black solid 1px;
- margin: 100px auto;
- /*-webkit-transition: -webkit-transform ease-in-out 1s;*/
- box-shadow: inset 0 0 20px black;
- }
- p {
- position: absolute;
- bottom: -10px;
- /*left: 10px;*/
- width: 230px;
- /*opacity: 0;*/
- /*display: none;*/
- /*display: none;*/
- font-family: "Arial";
- font-size: 12px;
- color: white;
- background: rgba(0,0,0,.6);
- padding: 10px;
- border-top-left-radius: 20px;
- border-top-right-radius: 20px;
- /*box-shadow: 2px 0 4px black;*/
- box-shadow: 0 0 4px black;
- -webkit-transition-property: -webkit-transform;
- -webkit-transition-timing-function: ease-out;
- -webkit-transition-duration: 400ms;
- -webkit-transform-origin: center bottom;
- z-index: 1;
- }
- .doorway .door{
- position: absolute;
- background: rgba(255,255,255,.5);
- border: black solid 1px;
- box-shadow: 0 0 5px black;
- width: 250px;
- height: 350px;
- -webkit-transition-property: z-index, -webkit-transform;
- -webkit-transition-duration: 900ms;
- -webkit-transition-delay: 400ms;
- -webkit-transition-timing-function: ease-out;
- -webkit-transform-origin: left center;
- -webkit-transform-style: preserve-3d;
- z-index: 2;
- }
- .doorway .door:before {
- content: '';
- position: absolute;
- top: 170px;
- right: 15px;
- width: 20px;
- height: 20px;
- background: black;
- border-radius: 10px;
- box-shadow: 0 0 2px black;
- }
- .door .above_window, .door .left_of_window, .door .right_of_window,
- .door .below_window {
- background: #0094cb;
- }
- .door .above_window {
- line-height: 40px;
- text-align: center;
- font-family: "Lucida Sans";
- color: black;
- }
- .door .left_of_window,
- .door .right_of_window {
- height: 120px;
- width: 40px;
- }
- .door .left_of_window {
- float: left;
- }
- .door .right_of_window {
- float: right;
- }
- .door .below_window {
- clear: both;
- height: 190px;
- }
- .door .below_window .technologies {
- position: relative;
- background: rgba(255,255,255,.3);
- box-shadow: inset 0 0 5px black;
- width: 170px;
- height: 130px;
- top: 25px;
- margin: 0 auto;
- font-family: "Lucida Sans";
- }
- .door .technologies h2 {
- background: rgba(0,0,0,.3);
- color: white;
- padding: 5px;
- text-align: center;
- font-size: 20px;
- }
- .door .technologies ul {
- list-style-type: none;
- }
- .doorway:hover p{
- -webkit-transition-delay: 300ms;
- -webkit-transition-duration: 1s;
- -webkit-transform: rotateX(-180deg);
- /*display: block;*/
- /*opacity: 1;*/
- }
- .doorway:hover .door{
- /*z-index: 1;*/
- -webkit-transition-delay: 0;
- /*-webkit-transition: -webkit-transform ease-out 900ms;*/
- -webkit-transform: rotateY(-180deg);
- }