Skip to content

Instantly share code, notes, and snippets.

@shahidcodes
Last active October 16, 2018 17:49
Show Gist options
  • Save shahidcodes/d8fb3c97e66c3517f31bc58e17681bfc to your computer and use it in GitHub Desktop.
Save shahidcodes/d8fb3c97e66c3517f31bc58e17681bfc to your computer and use it in GitHub Desktop.
JS Bin// source https://jsbin.com/fipezoz
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style>
body {
background-color: #00A6A6;
color: #BBDEF0;
}
.container {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
input {
display: block;
margin: 10px
}
.textbox {
padding: 10px;
border: 0.5px solid #eef;
border-radius: 4px;
}
input[type='submit'] {
padding: 8px 14px;
font-size: 15px;
background-color: #46351D;
border: none;
border-radius: 10px;
color: #BBDEF0
}
</style>
</head>
<body>
<div class="container">
<h1>Git.io Shortner</h1>
<form method="POST" action="https://git.io/">
<input class="textbox" type="text" name="url" placeholder="Url" />
<input class="textbox" type="text" name="code" placeholder="Custom code">
<input type="submit" value="Shorten"/>
</form>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment