Skip to content

Commit d297b39

Browse files
authored
Merge pull request #5 from LimSongWei/Daniel-Heng
Merge from Daniel Heng branch
2 parents 8c95097 + d49cc7e commit d297b39

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

background-image.jpg

951 KB
Loading

index.html

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

10-
<body>
11-
<h2 class="content-head is-center">Contact Us!</h2>
12-
<aside>
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">
13+
<h2 class="content-head is-center" style="color: white;">Contact Us!</h2>
14+
<aside style="color: white;">
1315
<p>
1416
We would <em>love</em> to hear from you! </p>
1517
<p>Please use the <b><em>Contact Form</em></b>
@@ -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

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

0 commit comments

Comments
 (0)