-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss.html
More file actions
56 lines (48 loc) · 1.55 KB
/
css.html
File metadata and controls
56 lines (48 loc) · 1.55 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<head>
<style>
div {
width: 100px;
height: 100px;
background-color: blue;
transition: width 3s;
}
div:hover {
width: 500px;
background-color: orange;
}
div {
width: 150px;
height: 150px;
background-color: #0000ff;
animation-name: xyz;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-direction: alternate;
font-size:x-large;
text-align: center;
color: yellow;
}
@keyframes xyz {
from{background-color: rgb(35, 180, 38); width: 50px; height:50px;}
to{background-color: orange; width: 150px;height:150px; border-radius:250px;}
}
</style>
<link rel="stylesheet" href="style.css">
</head>
</head>
<body>
<center>
<p> Niraj</p>
<p> Niraj</p>
<p> Niraj</p>
<p style="color:rgb(239, 117, 24)"> niraj mehariya </p>
<marquee behaviour="" direction=""><div >Niraj</div></marquee>
</body>
</html>