Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

mandeep

Member
  • Content Count

    271
  • Joined

  • Last visited

Posts posted by mandeep

  1. yes you can do through code block . use html + css for this.

    
    
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <title>Change Image on Hover in CSS</title>
    <style type="text/css">
       .card {
           width: 130px;
           height: 195px;
           background: url("/examples/images/card-back.jpg") no-repeat;
           margin: 50px;
       }
       .card:hover {
           background: url("/examples/images/card-front.jpg") no-repeat;
       }
    </style>
    </head>
    <body>
       <div class="card"></div>
    </body>
    </html>  
    
    
    

×
×
  • Create New...