Skip to content

Commit 1760446

Browse files
nityanandagohaingabru-md
authored andcommitted
Redundant css removed (#5)
1 parent b347b2d commit 1760446

File tree

3 files changed

+28
-77
lines changed

3 files changed

+28
-77
lines changed

css/style.css

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,6 @@ body {
66
margin: 0;
77
}
88

9-
p {
10-
text-transform: uppercase;
11-
letter-spacing: .5em;
12-
display: inline-block;
13-
border: 4px double rgba(255, 255, 255, 0.25);
14-
border-width: 4px 0;
15-
padding: 1.5em 0em;
16-
position: absolute;
17-
top: 18%;
18-
left: 50%;
19-
width: 40em;
20-
margin: 0 0 0 -20em;
21-
}
229
p span {
2310
font: 700 4em/1 "Oswald", sans-serif;
2411
letter-spacing: 0;

images/animation.png

-5.35 KB
Binary file not shown.

index.html

Lines changed: 28 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,49 @@
11
<!DOCTYPE html>
2-
<html lang="en" >
2+
<html lang="en">
33

44
<head>
55
<meta charset="UTF-8">
66
<title>Yogdaan</title>
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
9+
<link rel="stylesheet" href="./css/style.css">
810

9-
10-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
11+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
1112

1213
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Neuton|Oswald'>
1314

14-
<style>
15-
/* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */
16-
body {
17-
font: 400 1em/1.5 "Neuton";
18-
background: #090d00;
19-
color: rgba(255, 255, 255, 0.25);
20-
text-align: center;
21-
margin: 0;
22-
}
23-
24-
p {
25-
text-transform: uppercase;
26-
letter-spacing: .5em;
27-
display: inline-block;
28-
border: 4px double rgba(255, 255, 255, 0.25);
29-
border-width: 4px 0;
30-
padding: 1.5em 0em;
31-
position: absolute;
32-
top: 18%;
33-
left: 50%;
34-
width: 40em;
35-
margin: 0 0 0 -20em;
36-
}
37-
p span {
38-
font: 700 4em/1 "Oswald", sans-serif;
39-
letter-spacing: 0;
40-
padding: .25em 0 .325em;
41-
display: block;
42-
margin: 0 auto;
43-
text-shadow: 0 0 80px rgba(255, 255, 255, 0.5);
44-
/* Clip Background Image */
45-
background: url(images/animation.png) repeat-y;
46-
-webkit-background-clip: text;
47-
background-clip: text;
48-
/* Animate Background Image */
49-
-webkit-text-fill-color: transparent;
50-
-webkit-animation: aitf 80s linear infinite;
51-
/* Activate hardware acceleration for smoother animations */
52-
-webkit-transform: translate3d(0, 0, 0);
53-
-webkit-backface-visibility: hidden;
54-
}
55-
56-
/* Animate Background Image */
57-
@-webkit-keyframes aitf {
58-
0% {
59-
background-position: 0% 50%;
60-
}
61-
100% {
62-
background-position: 100% 50%;
63-
}
64-
}
65-
66-
</style>
67-
68-
<script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
15+
<style>
16+
/* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */
17+
p {
18+
text-transform: uppercase;
19+
letter-spacing: .5em;
20+
display: inline-block;
21+
border: 4px double rgba(255, 255, 255, 0.25);
22+
border-width: 4px 0;
23+
padding: 1.5em 0em;
24+
position: absolute;
25+
top: 18%;
26+
left: 50%;
27+
width: 40em;
28+
margin: 0 0 0 -20em;
29+
}
30+
</style>
31+
32+
<script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
6933

7034
</head>
7135

7236
<body>
7337

7438
<p>
75-
<span>
76-
Yogdaan
77-
</span>
78-
</p>
39+
<span>
40+
Yogdaan
41+
</span>
42+
</p>
7943
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
8044

81-
45+
8246

8347
</body>
8448

85-
</html>
49+
</html>

0 commit comments

Comments
 (0)