Type Here to Get Search Results !

Image Style


Html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">

    <title>Style</title>
</head>
<body>
    <div class="card">
    </div>
</body>
</html>

Css

body{
    background-color: black;
}
.card{
    width:150px;
    height:200px;
    /*Add Your Image*/
    background: url(image.jpg)
    center no-repeat;
    background-size: cover;
    border-radius: 10px;
    transform:
        rotate(10deg)
        skew(-10deg,-5deg);
    transition:
        translate 0.25s,
        box-shadow 0.25s;
    margin: 25%;
}
.card:hover{
    translate: 0 -30px;
    box-shadow: 5px 3px rgb(228, 242, 248 ),
                10px 8px rgb(114, 200, 235),
                15px 13px rgb(2, 183, 255);
}

Html Css Join Code

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Style</title>
</head>
<body>
    <div class="card">
    </div>
    <style>
        body{
    background-color: black;
}
    .card{
    width:150px;
    height:200px;
    background: url(image.jpg)
    center no-repeat;
    background-size: cover;
    border-radius: 10px;
    transform:
        rotate(10deg)
        skew(-10deg,-5deg);
    transition:
        translate 0.25s,
        box-shadow 0.25s;
    margin: 25%;
}
    .card:hover{
   
    translate: 0 -30px;
    box-shadow: 5px 3px rgb(228, 242, 248 ),
                10px 8px rgb(114, 200, 235),
                15px 13px rgb(2, 183, 255);
}
    </style>
</body>
</html>


Thanks You

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.