fix the w3css

This commit is contained in:
jumping283 2023-01-26 11:57:20 -08:00 committed by GitHub
parent 4e775a608e
commit 71b72519da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -1,9 +1,19 @@
<html>
<head>
<title>Form</title>
<link rel="icon" href="/A-300.png">
<link rel="stylesheet" href="/w3css/w3.css">
<style>
.bgimg {
background-image: url('https://w3schools.com/w3images/forestbridge.jpg');
min-height: 100%;
background-position: center;
background-size: cover;
}
</style>
</head>
<body>
<div class="w3-display-container bgimg">
<form class="w3-display-middle w3-animate-top" data-netlify="true" action="/maydo">
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname" value="John"><br>
@ -11,6 +21,7 @@
<input type="text" id="lname" name="lname" value="Doe"><br><br>
<input type="submit" value="Submit">
</form>
</div>
</body>