forked from anuragmadhesia/HTML-and-CSS-Practice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1.RadialGradient.html
More file actions
28 lines (28 loc) · 900 Bytes
/
Copy path1.RadialGradient.html
File metadata and controls
28 lines (28 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
<head>
<title>!Radial Gradient!</title>
<style>
div{
height: 300px;
width: 300px;
background-image: repeating-radial-gradient(yellow,red,pink,orange,green);
/*background-image: url(img1.jpg);
background-size: 100% 100%;*/
margin-left: 20%;
margin-top: 20%;
border-radius: 10%;
transition: 2s;
}
div:hover{
height: 50px;
width: 50px;
transform: rotate(360deg);
background-image: repeating-radial-gradient(gray,rgba(255, 0, 0, 0.027),rgb(209, 192, 255),orange,rgb(128, 0, 0));
transition: 2s;
}
</style>
</head>
<body>
<div></div>
</body>
</html>