Thursday 27 May 2021

Tranform

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tranform</title>
</head>
<style>
*{
margin0px;
padding0px;


}



.container{
background-colorchocolate;
width75vw;
height80vh;
displayflex;
align-itemscenter;
justify-contentcenter;

}
.box{displayflex;
align-itemscenter;
justify-contentcenter;
    colorred;
border2px solid red;
width150px;
height150px;
background-coloryellowgreen;
transitionall 0.5s ease-in-out  ;
}
.box:hover{
transformrotate(360deg);
transformscale(3);
transformtranslate(100px,150px);
transformperspective(3);
transformskew(40deg);
transformmatrix(20,25,35,25);
cursorpointer;
background-coloryellow;

}



</style>
<body>
    <div class="container">

        <div class="box">
            This is transform box
        </div>
    </div>
</body>
</html>

No comments:

Python if / else

 Python if / else a1 = int ( input (" Enter the number: \n ")) a2 = int ( input (" Enter the number: \n ")) a3 = int ( i...