Esempio funzionante su tutti i browser che hanno supporto css3:
codice:<html> <head> <style> p{ opacity: 0; -webkit-transition: all .5s ease 0s; -moz-transition: all .5s ease 0s; -ms-transition: all .5s ease 0s; -o-transition: all .5s ease 0s; transition: all .5s ease 0s; } h1:hover ~ p{ opacity:1; } </style> </head> <body> <h1>This is heading 1</h1> <h2>This is heading 2</h2> This is a paragraph.</p> </body> </html>![]()


Rispondi quotando
