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

Subject: Advanced Internet Technology

Topic: Responsive web design with HTML5 and CSS3

Difficulty: High

ait(26) • 1.7k views
ADD COMMENTlink
modified 15 months ago  • written 17 months ago by gravatar for yamini_patil_28 yamini_patil_28690
0
<!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>
ADD COMMENTlink
written 15 months ago by gravatar for yamini_patil_28 yamini_patil_28690
Please log in to add an answer.