forked from kishanrajput23/Web-Development-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndian flag using html &css
77 lines (70 loc) · 1.49 KB
/
Indian flag using html &css
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
//html code
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="patidarm.css">
<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>
<body>
<marquee behavior="" direction="">
<center>
<h1 id="text">Azadi ka Amrit Mahotsav 75th </h1>
<h2 id="text1">Anniversary of Indian Independence </h2>
<h3 id="text2">Happy Independence Day 2022</h3>
<div id="div1"></div>
<div id="div2">
<center><img
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTj5zflRUEEx2VS1Dpwn3ULexezFCpLPOEBxw&usqp=CAU"
alt="" width="250mm" height="150mm">
</div>
<div id="div3"></div>
</center>
</marquee>
</body>
</html>
//css code
#div1
{
border: solid orange;
width: 180mm;
height: 40mm;
background-color: orange;
}
#div2
{
border: solid white;
width: 180mm;
height: 40mm;
background-color: white;
}
#div3
{
border: solid green;
width: 180mm;
height: 40mm;
background-color: green;
}
#text
{
color: orange;
font-style: oblique;
font-size: xx-large;
}
#text1
{
color: white;
font-style: oblique;
font-size: xx-large;
}
#text2
{
color: green;
font-style: oblique;
font-size: xx-large;
}
body{
background-color: mediumblue;
}