-
Notifications
You must be signed in to change notification settings - Fork 0
/
thursday_prpty.html
68 lines (68 loc) · 2.14 KB
/
thursday_prpty.html
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
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
p{
transition-property: background-color,color;
transition-duration:0.8s;
transition-timing-function: ease-in-out;
transition-delay:0s;
}
p:hover{
background-color: red;
color: white;
width: 100px;
}
button{
transition-property:all;
transition-duration:0.8s;
transition-timing-function: ease-in-out;
transition-delay:0s;
background-color: yellow;
width: 90px;
border: 0px ;
height: 30px;
border-radius: 10px;
margin: 10px;
}
button:hover{
background-color: red;
color: white;
width: 100px;
cursor: pointer;
}
#_{
font-family: 'Times New Roman', Times, serif;
color: white;
background-color: black;
width: 200px;
text-align: center;
font-weight: 600;
}
.lower_text{
background-color: grey;
width: 100%;
height: 50px;
margin-top: 700px;
text-align: center;
padding-top: 30px;
font-weight: 600;
}
</style>
</head>
<body>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempora iure deserunt quis eveniet, omnis vel beatae minus, rem voluptatum blanditiis qui laboriosam labore, nobis ex alias molestiae natus sequi aliquid!</p>
<button id="#" onclick="printer()" type="submit">Button</button>
<p id="_"></p>
<script>
function printer(){
let btn = document.getElementById("#").value
document.getElementById("_").innerHTML = "Hello boys"
}
</script>
<footer class="lower_text">All rights reserved <span class="lower_text">©</span></footer>
</body>
</html>