Matthias Apsel: So sollte es gehen <figure>

Beitrag lesen

Om nah hoo pez nyeetz, Alex!

<!DOCTYPE html>  
<html lang="de">  
<head>  
  <meta charset="utf-8">  
  <title></title>  
  <style>[code lang=css]    figure {  
        position: relative;  
    }  
    figure img {  
        position: absolute;  
    }  
    img:last-child:hover {  
        opacity: 0;  
    }  
    img, img:hover {  
        transition: opacity 2s;  
    }
~~~  </style>  
</head>  
  
<body>  
   <figure>  
      <img src="http://wiki.selfhtml.org/images/a/a6/Lauf-1.jpg" alt="">  
      <img src="http://wiki.selfhtml.org/images/4/4a/Lauf-2.jpg" alt="">  
   </figure>  
</body>  
</html>[/code]  
Matthias

-- 
Der Unterschied zwischen Java und JavaScript ist größer als der zwischen [Wind und Windows](http://selfhtml.apsel-mv.de/java-javascript/index.php?buchstabe=W#wind).  
![](http://www.billiger-im-urlaub.de/kreis_sw.gif)