-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (108 loc) · 3.62 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<html>
<head>
<title>disha aggarwal site</title>
<meta charset="utf-8">
<style>
.fixed-header,
.fixed-footer {
width: 100%;
position:fixed;
background: pink;
padding: 10px 0;
color:red;
}
.fixed-header {
top: 0;
}
.fixed-footer {
bottom: 0;
}
.container {
width: 80%;
margin: 0 auto;
}
.contain {
width: 80%;
margin: 0 auto;
height:80%; position:relative;
}
.contain nav{
animation: animate 2s infinite; width:80%; height:80%; margin:0 auto;
border: 4px dotted black;
}
nav a {
color: white;
padding: 7px 25px;
display: inline-block;
font-size: large; text-decoration:none; border: 2px solid black;
background-color:blueviolet;
z-index:10;
}
nav{ background-color: aqua;}
.contain::before{ content: ''; position:absolute;
/*animation: animate 2s infinite; width:80%; height:80%; margin:0 auto;*/ }
@keyframes animate {
0%{transform: translate(-0px,-0px);}
100%{transform: translate(-10px,10px);}
}
.f1{padding:30% ;
background-image: url(skys.jpg);
background-repeat:no-repeat;
background-size:cover;
background-position:center;
}
nav a:hover{ color:red;
background-color:bisque;}
@media screen and (max-width:786px){
.contain{width:100%;
max-width:80%; min-width:360px;}
.f1{padding:30% 5%;
padding-top:170px;
background-repeat:no-repeat;
background-position:center;
}
.fixed-header,
.fixed-footer {
width: 100%;
padding: 2px 5px;
min-width:360px;
}
nav a {
padding: 0px 0px;
}
.contain nav{
width:100%; margin:0 auto;
max-height:10%; min-width:360px;
}
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<body>
<div class="fixed-header">
<div class="contain">
<nav>
<a href="index.html">home</a>
<a href="about.html">About</a>
<a href="skills.html">skills</a>
<a href="contact_details.html">contact details</a>
</nav>
</div>
</div>
<!--<div >
<img src="skys.jpg" alt="image" width="1500" height="700" >
</div> -->
<div class="f1">
</div>
<div class="fixed-footer">
<div class="container">
designed by disha aggarwal <p align ="center"><a href="https://www.linkedin.com/in/dishaaggarwal26/">linkedin</a>
<a href="https://instagram.com/dishaaggarwal26?igshid=YmMyMTA2M2Y=">instagram</a>
<a href="https://t.me/dishaaggarwal26">telegram</a>
</p>
<p align="center">@2022 disha aggarwal. all rights reserved</p>
</div>
</div>
</body>
</html>