main.html 2.04 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Main Page</title>
    <script src="jquery.js"></script>
    <script>
    
    
    </script>
    <style >

    #banner {
            position: absolute;
            top: 0;
            width: 100%;
            margin-top: 15ch;
            color: white;
        }
    
    #footer {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 50px;
            text-align: center;
            color: white;
        }
    
    </style>
</head>
<body>
    <img src = "images\main_background.jpg" alt="" style="z-index:-1; min-width: 100%; height: 700px;"></img>
    <div id="banner">      
        <h1 style="width: 100%; text-align: center; font-size: 50px;">오늘은 얼마나 먹었어요?</h1>
         
    
    <br><br><br> 

    <div id = "login-ing" style="width:100%; text-align: center; margin-top: 5ch">
            <form action="/starting" method="post">
                <div class="form-inline">
                    <label>ID</label>
                    <input type="text" name="name" class="form-control" placeholder="홍길동" style="width:200px;">
                    &nbsp &nbsp&nbsp&nbsp

                    <label>Password</label>
                    <input type="password" name="birth" class="form-control" placeholder="*******" style="width:200px;">
                    <br><br><br>

                    <input type="submit" value="Login" class="btn btn-default" style=" width:100px;font-weight: bold; font-size: 18px; background-color: white;">
                    <br><br>
                    <input type="submit" value="Sign Up" class="btn btn-default" style=" width:100px;font-weight: bold; font-size: 18px; background-color: white;">
                </div>
            </form>
        </div>
    
    </div>

    <div id="footer">오픈소스SW Project 2019-1 고다경 김용재 김태희</div>
</body>
</html>