Responsive Card UI Design With Hover Effects



a very responsive card UI design and so easy to learn




 <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="styles.css">
    <title>Responsive Card</title>
</head>
<body>
    <div class="box">
        <div class="imgBox">
            <img src="images/girl2.jpg" alt="">
        </div>
        <div class="content">
            <h2>Iner Collado<br><span>Front-end Developer</span></h2>
        </div>
    </div>
</body>
</html>                     
                  
                



 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

body{
    display: flex;
    justify-content: center;
    justify-items: center;
    flex-wrap: wrap;
    min-height: 100vh;
    background-color: #010615;
}

.box{
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #060c21;
    transition: 0.5s;
}
.box:hover{
    height: 450px;
}
.box .imgBox{
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.box .imgBox img{
    max-width: 100%;
    opacity: 0.1;
    transition: 0.6s;
}
.box .imgBox img:hover{
    opacity: 1;
}

.box::before{
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    bottom: -2px;
    right: -2px;
    background: #fff;
    z-index: -1;
}
.box::after{
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    bottom: -2px;
    right: -2px;
    background: #fff;
    z-index: -2;
    filter: blur(40px);
}

.box::before,
.box::after{
    background: linear-gradient(235deg,#89ff00, #010615, #00bcd4);
}

.box .content{
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.5s;
}

.box:hover .content{
    opacity: 1;
}

.box .content h2{
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 1px;
}
.box .content h2 span{
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 2px;
}                 
              



no js its pure html and css :)