Skip to content

Commit 8ca9e1f

Browse files
committed
Fix spacing
1 parent 3bcaf08 commit 8ca9e1f

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
html,
22
body,
33
div {
4-
padding: 0;
5-
margin: 0;
4+
padding: 0;
5+
margin: 0;
66
}
77

88
a {
9-
text-decoration: none;
10-
color: rgb(0, 120, 255);
9+
text-decoration: none;
10+
color: rgb(0, 120, 255);
1111
}
1212

1313
span {
14-
display: inline-block;
15-
line-height: 1.4;
16-
padding: 20px;
17-
background-color: rgba(250, 208, 134, 0.6);
14+
display: inline-block;
15+
line-height: 1.4;
16+
padding: 20px;
17+
background-color: rgba(250, 208, 134, 0.6);
1818
}
1919

2020
#container-with-background {
21-
height: 100vh;
22-
background: #666 url('../img/6055291281_0cc6fa5272_b.jpg') no-repeat fixed 0 0 / cover;
21+
height: 100vh;
22+
background: #666 url('../img/6055291281_0cc6fa5272_b.jpg') no-repeat fixed 0 0 / cover;
2323
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8">
5-
<meta name="viewport" content="width=device-width,initial-scale=1">
6-
<title>A Single Background in CSS</title>
7-
<link rel="stylesheet" href="css/style.css">
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
6+
<title>A Single Background in CSS</title>
7+
<link rel="stylesheet" href="css/style.css">
88
</head>
99
<body>
10-
<div id="container-with-background">
11-
<span>A single background image that covers the entire viewport, scaling the image proportionally in both the vertical and horizontal axes. See the <a href="css/style.css">CSS</a>.</span>
12-
</div>
10+
<div id="container-with-background">
11+
<span>A single background image that covers the entire viewport, scaling the image proportionally in both the vertical and horizontal axes. See the <a href="css/style.css">CSS</a>.</span>
12+
</div>
1313
</body>
1414
</html>

0 commit comments

Comments
 (0)