HTML Coding

<html> <head> <title>Coding TutorialsDesign</title> <link type="text/css" rel="stylesheet" href="css/stylesheet.css"> </head> <body> <div class="background_3D"> <div class="container_3D"> <div class="card_3d"> <div class="img_3D" data-text="Design"> <img src="img/Design.png"> </div> <div class="content_3D"> <div> <h3>Design</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> <center> <a href="">Read More</a> </center> </div> </div> </div> <div class="card_3d"> <div class="img_3D" data-text="Code"> <img src="img/code.png"> </div> <div class="content_3D"> <div> <h3>Code</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> <center> <a href="">Read More</a> </center> </div> </div> </div> <div class="card_3d"> <div class="img_3D" data-text="Launch"> <img src="img/Launch.png"> </div> <div class="content_3D"> <div> <h3>Launch</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> <center> <a href="">Read More</a> </center> </div> </div> </div> <div class="card_3d"> <div class="img_3D" data-text="Earn"> <img src="img/earn.png"> </div> <div class="content_3D"> <div> <h3>Earn</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> <center> <a href="">Read More</a> </center> </div> </div> </div> </div> </div> </body> </html>

CSS Coding

                
                    
.background_3D
{
    display: flex;
    justify-content: center;
    align-items: center;
    background:#222;
    min-height:100vh;
}
.container_3D
{
    position: relative;
    width:1000px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin:20px;
}
.container_3D .card_3d
{
    position: relative;
    height:250px;
    background:#fff;
    display:flex;
    width:45%;
    margin:30px 0;
}
.container_3D .card_3d .img_3D
{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#333;
    z-index:1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition:0.5s ease-in-out;
}
.container_3D .card_3d:hover .img_3D
{
    width:150px;
    height:150px;
    left:-75px;
    top:calc(50% - 75px);
    transition:0.5s ease-in-out;
    background:#ff0057;
}
.container_3D .card_3d .img_3D:before
{
    content: attr(data-text);
    position: absolute;
    bottom:0;
    left:0;
    width:100%;
    text-align: center;
    font-size:6em;
    color:rgba(255,255,255,.05);
    font-weight: 700;
}
.container_3D .card_3d .img_3D img
{
    max-width:100px;
    transition:0.5s ease-in-out;
}
.container_3D .card_3d:hover .img_3D img
{
    max-width:75px;
}
.container_3D .card_3d .content_3D
{
    position: absolute;
    right:0;
    width:calc(100% -75px);
    height:100%;
    padding:20px;
    display: flex;
    justify-content: center;
    align-items:center;
        
}
.container_3D .card_3d .content_3D h3
{
    
    margin-bottom:5px;
    font-size:24px;
    text-align: center
}
.container_3D .card_3d .content_3D a
{
    display:inline-block;
    margin-top: 10px;
    padding:5px 10px;
    background:#333;
    text-decoration: none;
    color:#fff;
    
}
@media (max-width:992px)
{ 
    .container_3D
    {
        width:100%;
        flex-direction: column;
        align-items: center;
        
    }
    .container_3D .card_3d
    {
        width:400px;
    }
    
    
}
@media (max-width:768px)
{
    .container_3D .card_3d
    {
        max-width:300px;
        flex-direction: column;
        height: auto;
    }
    .container_3D .card_3d .img_3D
    {
        position: relative;
    }
    .container_3D .card_3d .img_3D,
    .container_3D .card_3d:hover .img_3D
    {
        width:100%;
        height:200px;
        left:0;
    }
      .container_3D .card_3d .img_3D img,
    .container_3D .card_3d:hover .img_3D img
    {
        max-width:100px;
    }
    .container_3D .card_3d .content_3D
    {
        position: relative;
        width:100%;  
    }
}