Line 5: | Line 5: | ||
<head> | <head> | ||
<style> | <style> | ||
+ | #cf { | ||
+ | position:relative; | ||
+ | height:281px; | ||
+ | width:450px; | ||
+ | margin:0 auto; | ||
+ | } | ||
+ | #cf img { | ||
+ | position:absolute; | ||
+ | left:0; | ||
+ | -webkit-transition: opacity 1s ease-in-out; | ||
+ | -moz-transition: opacity 1s ease-in-out; | ||
+ | -o-transition: opacity 1s ease-in-out; | ||
+ | transition: opacity 1s ease-in-out; | ||
+ | } | ||
+ | |||
+ | #cf img.top:hover { | ||
+ | opacity:0; | ||
+ | } | ||
</style> | </style> | ||
</head> | </head> |
Revision as of 13:22, 27 October 2017