Facebook
From 123, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 238
  1. body{
  2.         background-color:pink;
  3. }
  4. img {
  5.         width:210px;
  6.         height:150px;
  7.         margin:30px;
  8.         position:relative;
  9. }
  10. img:hover{
  11.         position:fixed;
  12.         left:0;
  13.         top:400px;
  14.         width:100%;
  15.         height:100%;
  16. }
  17. <html>
  18. <head>
  19. <link rel="stylesheet" type="text/css" href="style.css"/>
  20. </head>
  21. <body>
  22. <img id="a" src="1.jpg">
  23. <img id="b" src="2.jpg">
  24. <img id="c" src="3.jpg">
  25. <img id="d" src="4.jpg">
  26. <img id="e" src="5.jpg">
  27. <img id="f" src="6.jpg">
  28. <img id="g" src="7.jpg">
  29. <img id="h" src="8.jpg">
  30. </body>
  31. </html>