63 lines
1.3 KiB
HTML
63 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>ve.it</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<style>
|
|
* {
|
|
font-family: Sans-Serif;
|
|
}
|
|
#shorten-form {
|
|
margin: auto;
|
|
width: 500px;
|
|
margin-top: 20vh;
|
|
}
|
|
input {
|
|
border: none;
|
|
border-bottom: 3px solid #000;
|
|
border-left: 3px solid #000;
|
|
padding: 5px;
|
|
padding-bottom: 1px;
|
|
margin: 10px;
|
|
width: 250px;
|
|
font-size: 16px;
|
|
}
|
|
#submit {
|
|
border: none;
|
|
padding: 5px;
|
|
font-size: 16px;
|
|
width: 100px;
|
|
background: #333;
|
|
color: #fff;
|
|
}
|
|
#shortened {
|
|
width: 480px;
|
|
margin: auto;
|
|
font-size: 20px;
|
|
}
|
|
a {
|
|
color: #000;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<form id="shorten-form" method="POST">
|
|
<input id="url" type="text" placeholder="URL" name="url">
|
|
<input id="submit" type="submit" value="Shorten!">
|
|
</form>
|
|
<div class="row">
|
|
<div class="column">
|
|
<section id="shortened">
|
|
<p>
|
|
<span>Shortened Link:</span>
|
|
<a id="link" href="#" target="_blank"></a>
|
|
</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="public/script.js"></script>
|
|
</body>
|
|
</html>
|