Skip to content

Commit 1ca51f0

Browse files
authored
Merge pull request #7 from LimSongWei/Daniel-Heng
Daniel heng
2 parents d01c489 + 3940515 commit 1ca51f0

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

background-image.jpg

951 KB
Loading

index.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
<title>Contact Form Example</title>
88
</head>
99

10-
<body>
10+
<body style="background-image: url('background-image.jpg'); background-size: cover;">
11+
<div style="display:inline-block; width: 20%"> </div>
12+
<div class = "form-container">
1113
<h2 class="content-head is-center">Contact Us!</h2>
1214
<aside>
1315
<p>
@@ -79,6 +81,6 @@ <h2><em>Thanks</em> for contacting us!
7981
}
8082
</script>
8183
<!-- END -->
82-
84+
</div>
8385
</body>
8486
</html>

style.css

+7
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,10 @@ button {
3838
.honeypot-field {
3939
display: none;
4040
}
41+
42+
.form-container{
43+
background: rgba(255, 255, 255, 0.8);
44+
width: 700px;
45+
display: inline-block;
46+
padding: 0px 35px 20px 35px;
47+
}

0 commit comments

Comments
 (0)