Uit Hack42
k (deze site is vanaf nu alleen geschikt voor webkit. de nieuwe dhtml) |
k |
||
Regel 223: | Regel 223: | ||
} | } | ||
--> | --> | ||
+ | |||
+ | |||
+ | <!-- deelnemercube probeersel --> | ||
+ | #experiment { | ||
+ | -webkit-perspective: 800; | ||
+ | -webkit-perspective-origin: 50% 200px; | ||
+ | } | ||
+ | #cube { | ||
+ | position: relative; | ||
+ | margin: 0 auto; | ||
+ | height: 400px; | ||
+ | width: 400px; | ||
+ | -webkit-transition: -webkit-transform 2s linear; | ||
+ | -webkit-transform-style: preserve-3d; | ||
+ | } | ||
+ | |||
+ | .face { | ||
+ | position: absolute; | ||
+ | height: 360px; | ||
+ | width: 360px; | ||
+ | padding: 20px; | ||
+ | background-color: rgba(50, 50, 50, 0.7); | ||
+ | } | ||
+ | |||
+ | |||
+ | #cube .one { | ||
+ | -webkit-transform: rotateX(90deg) translateZ(200px); | ||
+ | } | ||
+ | |||
+ | #cube .two { | ||
+ | -webkit-transform: translateZ(200px); | ||
+ | } | ||
+ | |||
+ | #cube .three { | ||
+ | -webkit-transform: rotateY(90deg) translateZ(200px); | ||
+ | } | ||
+ | |||
+ | #cube .four { | ||
+ | -webkit-transform: rotateY(180deg) translateZ(200px); | ||
+ | } | ||
+ | |||
+ | #cube .five { | ||
+ | -webkit-transform: rotateY(-90deg) translateZ(200px); | ||
+ | } | ||
+ | |||
+ | #cube .six { | ||
+ | -webkit-transform: rotateX(-90deg) translateZ(200px) rotate(180deg); | ||
+ | } |
Versie van 17 mrt 2012 23:49
/** CSS die hier wordt geplaatst heeft invloed op alle skins */ @font-face { font-family: 'GoodDogRegular'; src: url('../../blog/wp-content/uploads/2012/02/GoodDog-webfont.eot'); src: url('../../blog/wp-content/uploads/2012/02/GoodDog-webfont.eot?#iefix') format('embedded-opentype'), url('../../blog/wp-content/uploads/2012/02/GoodDog-webfont.woff') format('woff'), url('../../blog/wp-content/uploads/2012/02/GoodDog-webfont.ttf') format('truetype'), url('../../blog/wp-content/uploads/2012/02/GoodDog-webfont.svg#GoodDogRegular') format('svg'); font-weight: normal; font-style: normal; } .polaroidfont { font-family: "GoodDogRegular", Georgia, serif; font-size: 25px; text-decoration:none; margin-bottom: 0px; padding-bottom:0px; margin-top: 0px; padding-top:0px;} .polaroidfont a:link { color: black; text-decoration: none; } .polaroidfont a:visited { color: black; text-decoration: none; } .polaroidfont a:hover { color: black; text-decoration: none; } .polaroidfont a:active { color: black; text-decoration: none; } .polaroidlayout { display:inline-block; margin: 2px; padding: 10px 10px 10px 10px; text-align:center; border: 1px inset gray; background-color: #ffffff; -moz-box-shadow: 0px 2px 6px 0px #333; -webkit-box-shadow: 0px 2px 6px 0px #333; box-shadow: 0px 2px 6px 0px #333; -webkit-transition: -webkit-transform .15s linear; } .polaroidlayout:hover { -webkit-transform: scale(1.25); -moz-transform: scale(1.25); position: relative; } .rotate2 {-webkit-transform: rotate(2deg); -moz-transform: rotate(2deg); -ms-transform: rotate(2deg); -o-transform: rotate(2deg); transform: rotate(2deg); } .rotate5 {-webkit-transform: rotate(5deg); -moz-transform: rotate(5deg); -ms-transform: rotate(5deg); -o-transform: rotate(5deg); transform: rotate(5deg); } .rotate7 {-webkit-transform: rotate(7deg); -moz-transform: rotate(7deg); -ms-transform: rotate(7deg); -o-transform: rotate(7deg); transform: rotate(7deg); } .rotate10 {-webkit-transform: rotate(10deg); -moz-transform: rotate(10deg); -ms-transform: rotate(10deg); -o-transform: rotate(10deg); transform: rotate(10deg); } .rotate12 {-webkit-transform: rotate(12deg); -moz-transform: rotate(12deg); -ms-transform: rotate(12deg); -o-transform: rotate(12deg); transform: rotate(12deg); } .rotate15 {-webkit-transform: rotate(15deg); -moz-transform: rotate(15deg); -ms-transform: rotate(15deg); -o-transform: rotate(15deg); transform: rotate(15deg); } .rotate20 {-webkit-transform: rotate(20deg); -moz-transform: rotate(20deg); -ms-transform: rotate(20deg); -o-transform: rotate(20deg); transform: rotate(20deg); } .rotate25 {-webkit-transform: rotate(25deg); -moz-transform: rotate(25deg); -ms-transform: rotate(25deg); -o-transform: rotate(25deg); transform: rotate(25deg); } .rotate30 {-webkit-transform: rotate(30deg); -moz-transform: rotate(30deg); -ms-transform: rotate(30deg); -o-transform: rotate(30deg); transform: rotate(30deg); } .rotate35 {-webkit-transform: rotate(35deg); -moz-transform: rotate(35deg); -ms-transform: rotate(35deg); -o-transform: rotate(35deg); transform: rotate(35deg); } .rotate40 {-webkit-transform: rotate(40deg); -moz-transform: rotate(40deg); -ms-transform: rotate(40deg); -o-transform: rotate(40deg); transform: rotate(40deg); } .rotate45 {-webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } .rotate90 {-webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); } .rotate135 {-webkit-transform: rotate(135deg); -moz-transform: rotate(135deg); -ms-transform: rotate(135deg); -o-transform: rotate(135deg); transform: rotate(135deg); } .rotate180 {-webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); } .rotate225 {-webkit-transform: rotate(225deg); -moz-transform: rotate(225deg); -ms-transform: rotate(225deg); -o-transform: rotate(225deg); transform: rotate(225deg); } .rotate270 {-webkit-transform: rotate(270deg); -moz-transform: rotate(270deg); -ms-transform: rotate(270deg); -o-transform: rotate(270deg); transform: rotate(270deg); } .rotate315 {-webkit-transform: rotate(315deg); -moz-transform: rotate(315deg); -ms-transform: rotate(315deg); -o-transform: rotate(315deg); transform: rotate(315deg); } .rotate320 {-webkit-transform: rotate(320deg); -moz-transform: rotate(320deg); -ms-transform: rotate(320deg); -o-transform: rotate(320deg); transform: rotate(320deg); } .rotate325 {-webkit-transform: rotate(325deg); -moz-transform: rotate(325deg); -ms-transform: rotate(325deg); -o-transform: rotate(325deg); transform: rotate(325deg); } .rotate330 {-webkit-transform: rotate(330deg); -moz-transform: rotate(330deg); -ms-transform: rotate(330deg); -o-transform: rotate(330deg); transform: rotate(330deg); } .rotate335 {-webkit-transform: rotate(335deg); -moz-transform: rotate(335deg); -ms-transform: rotate(335deg); -o-transform: rotate(335deg); transform: rotate(335deg); } .rotate340 {-webkit-transform: rotate(340deg); -moz-transform: rotate(340deg); -ms-transform: rotate(340deg); -o-transform: rotate(340deg); transform: rotate(340deg); } .rotate345 {-webkit-transform: rotate(345deg); -moz-transform: rotate(345deg); -ms-transform: rotate(345deg); -o-transform: rotate(345deg); transform: rotate(345deg); } .rotate348 {-webkit-transform: rotate(348deg); -moz-transform: rotate(348deg); -ms-transform: rotate(348deg); -o-transform: rotate(348deg); transform: rotate(348deg); } .rotate350 {-webkit-transform: rotate(350deg); -moz-transform: rotate(350deg); -ms-transform: rotate(350deg); -o-transform: rotate(350deg); transform: rotate(350deg); } .rotate353 {-webkit-transform: rotate(353deg); -moz-transform: rotate(353deg); -ms-transform: rotate(353deg); -o-transform: rotate(353deg); transform: rotate(353deg); } .rotate355 {-webkit-transform: rotate(355deg); -moz-transform: rotate(355deg); -ms-transform: rotate(355deg); -o-transform: rotate(355deg); transform: rotate(355deg); } .rotate358 {-webkit-transform: rotate(358deg); -moz-transform: rotate(358deg); -ms-transform: rotate(358deg); -o-transform: rotate(358deg); transform: rotate(358deg); } .traanplaat { background-image: url(/mediawiki/skins/modern/wikiback3.jpg); background-repeat: repeat; } .traanplaatcartoon { background-image: url(/mediawiki/skins/modern/wikiback3.jpg); background-repeat: repeat; background-attachment:fixed; } .agenda { background-image: url(https://hack42.nl/mediawiki/images/4/40/Agenda-background.jpg); background-repeat: no-repeat; background-position: right bottom; } .iam50percent { -khtml-opacity:.50; -moz-opacity:.50; -ms-filter:"alpha(opacity=50)"; filter:alpha(opacity=50); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.5); opacity:.50; } /** opgenomen voor blog menu emulatie */ /* Menu */ #navr { horizontal-align:center; position:absolute; width:100%; top: 0px; background-color: rgba(190,190,190,0.6); height: 4em; } #navr2 { width: 950px; margin: 0 auto; position: relative; padding: 0px; top: -1px; } .menu { margin-left: 0px; margin-top: 1px; list-style: none; padding-bottom: 5px; font-weight: bold; font-family: arial, verdana, sans-serif; } .menu li { float: left; } .menu li a:link, .menu li a:visited { padding: 11px 10px 10px 10px; display: block; color: #777; text-decoration: none; text-transform: uppercase; font-size: 16px; margin-right: 5px; } .menu li li a:link, .menu li li a:visited { margin-right: 0; } .menu li.current_page_item a { color: #fff; background: #8282a1; } .menu li a:hover { color: #fff; background: #161650; } /* /Menu */ /* clearfix */ .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix { display: inline-block; } /* Hides from IE-mac \*/ * html .clearfix { height: 1%; } .clearfix { display: block; } /* End hide from IE-mac */ .feeder { position: absolute; right: 0; top: 10px; font-size: 130%; } .feeder a:link, .feeder a:visited { background: url(https://hack42.nl/blog/wp-content/themes/yashfa/images/feed-icon.png) 0 0 no-repeat; padding-left: 18px; color: #FD6A11; font-family: arial, verdana, sans-serif; } /** /opgenomen voor blog menu emulatie */ #firstHeading { text-align: center; } /** popups in mentions, de server had toch niets te doen. niemand doet een span in een a anyhow, toch wel :) */ .mentioneduser a { position: relative; } .mentioneduser a span {display: none;} .mentioneduser a:hover span { display: block; position: absolute; top: 5px; left: -50%; width: 200px; padding: 5px; margin: 10px; z-index: 100; color: #AAA; background: white; font: 10px Verdana, sans-serif; border: 1px solid silver; text-decoration: none; } .mentioneduser a:hover { text-decoration: none; } <!-- bagger om uit te proberen --> @-webkit-keyframes blinker { from { opacity: 1.0; } to { opacity: 0.0; } } @-webkit-keyframes pulsate { 0% { -webkit-box-shadow: 0px 0px 0px #3cdfdf; border:2px aqua inset } 25% { -webkit-box-shadow: 0px 0px 35px #3cdfdf; border:2px aqua inset } 50% { -webkit-box-shadow: 0px 0px 0px white; border:2px white inset } 75% { -webkit-box-shadow: 0px 0px 35px white; border:2px white inset } 100% { -webkit-box-shadow: 0px 0px 0px #3cdfdf; border:2px aqua inset } } input:focus{ -webkit-animation-name: pulsate; -webkit-animation-duration: 1.5s; -webkit-animation-iteration-count: infinite; -moz-box-shadow: 0px 0px 30px #3cdfdf; box-shadow: 0px 0px 30px #3cdfdf; } <!-- trolololo, de blinker werkt nog niet body { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); -webkit-animation-name: blinker; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0); -webkit-animation-duration: 1s; } --> <!-- deelnemercube probeersel --> #experiment { -webkit-perspective: 800; -webkit-perspective-origin: 50% 200px; } #cube { position: relative; margin: 0 auto; height: 400px; width: 400px; -webkit-transition: -webkit-transform 2s linear; -webkit-transform-style: preserve-3d; } .face { position: absolute; height: 360px; width: 360px; padding: 20px; background-color: rgba(50, 50, 50, 0.7); } #cube .one { -webkit-transform: rotateX(90deg) translateZ(200px); } #cube .two { -webkit-transform: translateZ(200px); } #cube .three { -webkit-transform: rotateY(90deg) translateZ(200px); } #cube .four { -webkit-transform: rotateY(180deg) translateZ(200px); } #cube .five { -webkit-transform: rotateY(-90deg) translateZ(200px); } #cube .six { -webkit-transform: rotateX(-90deg) translateZ(200px) rotate(180deg); }