-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtml1_cssclass1.html
64 lines (58 loc) · 1.18 KB
/
html1_cssclass1.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
<!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>CSS- Introduction</title>
<style>
body
{
margin: 0;
font-family: sans-serif;
}
.container
{
width: 600px;
background-color: ##ffe8cb;
border:5px solid #a3442e;
}
h1
{
font-size: 40px;
text-align: center;
}
.first p
{
margin-left: 20px;
}
.box
{
padding: 20px;
background-color: #f1bbad;
}
button
{
display: block;
color: #2e2e2e;
font-size: 18px;
margin: 20px auto;
padding: 10px 20px;
border-radius: 25px;
border: 2px solid #a3442e;
}
</style>
</head>
<body>
<div class="container">
<div class="first">
<h1>Hello world !!!!</h1>
<p>The most famous line for programmer.</p>
</div>
<div class="box">
<h2>Learning CSS</h2>
<p>Learning CSS will let you desing beautiful webpages,moving objects,amazing animation and different shapes on your webpage.</p>
</div>
<button>Start Learn CSS with codewithVishal</button>
</body>
</html>