Transform Scale in HTML CSS


transform-scale-in-html-css-in-delhi

Transform Scale in HTML CSS

transform-scale-in-html-css-in-delhi

Transform Scale in HTML CSS in Delhi

HTML Code

<div class=”s1″></div>

 

CSS Code

.s1{
width:300px;
height:300px;
margin-left:200px;
margin-top:200px;
background-color:red;
transform:scale(1,1);
transition:1s;
}
.s1:hover{transform:scale(2,2);
transition:1s;
}