01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
<style type="text/css" media="all"><!--
.origin{ position: relative; top: 0; left: 0; width: 400px; height: 100px;
margin: 0; padding: 0;
border-color: #fff #abe #abe #fff; border-style: solid; border-width: 1px; }
.spiegeln{ position: absolute; top: 10px; left: 200px; width: 200px; height: 80px;
z-index: 2; background-color: rgba(255,200,0,.5);
-webkit-transition: all 2s;
transition: all 2s;
}
.origin:hover .spiegeln {
background-color: rgba(0,0,0,1); color: gold ;
transform: scale(-1, 1) ;
transform-origin: 0 0;
transition-timing-function: ease-in-out;
}
section > p { font-size: 12px; }
section > p.mittig { font-size: 14px; background-color: #c43; text-align: center; }
--></style>
<div class="origin" >
<?php
include "$ordnerpfad/komponenten/raster.htx" ;
?>
<section class='spiegeln'>
<p class="mittig">Rechteck spiegeln</p>
<p> transform-origin: 0 0 <br /> Angelpunkt links</p>
</section>
</div>
|