Advertisement
genzuki

sliding pic

Oct 28th, 2021
853
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <style>
  2. .slide figure img {
  3. margin-left: 30px;
  4. -webkit-transform: scale(1.5);
  5. transform: scale(1.5);
  6. -webkit-transition: .5s ease-in-out;
  7. transition: .5s ease-in-out;
  8. }
  9. .slide figure:hover img {
  10. margin-left: 100px;
  11. }
  12. </style>
  13. <div class="slide column">
  14. <div>
  15. <figure><img src="https://i.pinimg.com/564x/38/47/80/3847806f431d57e617930f4a07f7022a.jpg" width="100" height="100" /></figure>
  16. <span></span>
  17. </div>
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement