• Hello,

    I am using this code to display the image/link I need. Everything is working right but I wanted to see if there was a way to add a X close button.

    <!DOCTYPE html>
    <html lang=”en”>
    <head>
    <meta charset=”utf-8″>
    <title>Click Me</title>
    <style>
    .card {
    width: 200px;
    height: 400px;
    position: relative;
    display: inline-block;
    }
    .card .img-top {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    }
    .card:hover .img-top {
    display: inline;
    }
    </style>
    </head>
    <body>
    <div class=”card”>


    </div>
    </body>
    </html>

    The page I need help with: [log in to see the link]

The topic ‘How can I add a X close button?’ is closed to new replies.