Skip to content

Commit 82ff4ae

Browse files
authored
Update index.html
1 parent 0b82fcc commit 82ff4ae

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

index.html

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8">
5-
<title>Document</title>
6-
<style>
4+
<meta charset="UTF-8">
5+
<title>Document</title>
6+
<style>
77
@import url('https://fonts.googleapis.com/css?family=Baloo|Crimson+Text');
88
h1:target{
99
animation: dropShadow 1.5s;
@@ -50,19 +50,24 @@
5050
padding: 3px 6px; border-radius: 2px;
5151
color: white; text-shadow: 1px 1px #282527;
5252
}
53-
</style>
53+
@media (max-width: 520px){
54+
body{
55+
width: 90vw;
56+
}
57+
}
58+
</style>
5459
</head>
5560
<body>
56-
<strong>Click on the below links to see the CSS <code>:target</code> animation</strong>
57-
<div id=links>
58-
<a href=#title1>नारंगी</a> <a href=#title2>अमरूद</a> <a href=#title3>अनार</a>
59-
</div>
60-
<div class=filler></div>
61-
<h1 id=title1>नारंगी </h1> <a href="#links">go to links ⬏</a>
62-
<div class=filler></div>
63-
<h1 id=title2>अमरूद</h1> <a href="#links">go to links ⬏</a>
64-
<div class=filler></div>
65-
<h1 id=title3>अनार</h1> <a href="#links">go to links ⬏</a>
66-
<div class=filler></div>
61+
<strong>Click on the below links to see the CSS <code>:target</code> animation</strong>
62+
<div id=links>
63+
<a href=#title1>नारंगी</a> <a href=#title2>अमरूद</a> <a href=#title3>अनार</a>
64+
</div>
65+
<div class=filler></div>
66+
<h1 id=title1>नारंगी </h1> <a href="#links">go to links ⬏</a>
67+
<div class=filler></div>
68+
<h1 id=title2>अमरूद</h1> <a href="#links">go to links ⬏</a>
69+
<div class=filler></div>
70+
<h1 id=title3>अनार</h1> <a href="#links">go to links ⬏</a>
71+
<div class=filler></div>
6772
</body>
6873
</html>

0 commit comments

Comments
 (0)