<!DOCTYPE html>
<html>
<head>
<title>hahahahah</title>
<style type="text/css">
.div1{
width: 300px;
height: 300px;
background-color: red;
border-radius: 50%;
transition:width 2s,height 2s,background 3s;
margin: auto;
}
.div2{
width: 300px;
height: 300px;
background-color: blue;
border-radius: 50%;
transition:width 2s,height 2s,background 3s;
margin: auto;
}
.div1:hover{
width: 500px;
height: 500px;
background-color: blue;
cursor: pointer;
}
.div2:hover{
width: 500px;
height: 500px;
background-color: red;
cursor: pointer;
}
</style>
</head>
<body>
<div class="div1">
</div>
<div class="div2"></div>
</body>
</html>
<html>
<head>
<title>hahahahah</title>
<style type="text/css">
.div1{
width: 300px;
height: 300px;
background-color: red;
border-radius: 50%;
transition:width 2s,height 2s,background 3s;
margin: auto;
}
.div2{
width: 300px;
height: 300px;
background-color: blue;
border-radius: 50%;
transition:width 2s,height 2s,background 3s;
margin: auto;
}
.div1:hover{
width: 500px;
height: 500px;
background-color: blue;
cursor: pointer;
}
.div2:hover{
width: 500px;
height: 500px;
background-color: red;
cursor: pointer;
}
</style>
</head>
<body>
<div class="div1">
</div>
<div class="div2"></div>
</body>
</html>