-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (69 loc) · 2.01 KB
/
index.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
69
70
71
72
73
74
75
76
77
78
79
80
<!Doctype html>
<head>
<title> Plain HTML</title>
<style>
body {
background-color: orange;
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
}
.container {
background-color: white;
width: 40vh;
height: 40vh;
display: flex;
flex-direction: column;
padding: 0px 8px;
transition: all 0.5s;
border-radius: 8px;
box-shadow: 0 0 30px 2px rgba(0, 0, 0, 0.5);
}
.container:hover {
box-shadow: 0 0 30px 2px rgba(0, 0, 0, 0.8);
transition-timing-function: linear;
background-color: rgb(237, 230, 230);
transform: scale(1.1);
transition: all 0.5s;
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
.text-center {
text-align: center;
}
.outer-container {
display: flex;
width: 100vw;
height: 100vh;
justify-content: center;
align-items: center;
}
button {
padding: 10px 20px;
background-color: blue;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
button:hover {
background-color: darkblue;
}
</style>
</head>
<body>
<div class="outer-container">
<div class="container center">
<p class="text-center">Hello World! this is pure HTML/CSS</p>
<p class="text-center"> You may learn different Frameworks. But its important you know How they work under
the hood. Do not forget the roots.</p>
<button class="center" onclick="window.location.href='counter.html'">Get Started</button>
</div>
</div>
</body>
</html>