Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- #diss {
- width: 100px;
- min-height: 20px;
- border: 2px solid black;
- background: white;
- position: absolute;
- left: 50%;
- top: -1000px;
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- transition: all 0.3s ease;
- }
- #hoverHere:hover #diss {
- top: 100px;
- }
- </style>
- </head>
- <body>
- <div id="hoverHere">Hover on me!
- <div id="diss">This should not be here.</div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement