0
2.9kviews
Create a webpage to show how can apply the transformation effects so that the image rotate by 75 degree. Assume suitable parameters if required.

Subject: Advanced Internet Technology

Topic: Responsive web design with HTML5 and CSS3

Difficulty: High

1 Answer
0
3views
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>image</title>
</head>
<style>

img {
    margin: 20px;
      transition: transform .8s ease-in-out;
    }
.imgs:hover {
      transform: rotate(75deg);
 }
.imgs1:hover {
      transform: rotate(360deg);
              }
</style>
<body>
<h1>hover on image to rotate</h1>
    <img class = 'imgs' src="img.png"/>
     <img class = 'imgs1' src="img.png"/>
      <img class = 'imgs' src="img.png"/> 
      <img class = 'imgs1' src="img.png"/>
 </body>
 </html>
Please log in to add an answer.