Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Positioning a background image
- <form>
- <label>Username:</label>
- <input type="text" name="username" required="required" />
- <label>Password:</label>
- <input type="password" name="password" required="required" />
- <input type="submit" value="Login" name="submit" class="submit" />
- form {
- background:url(images/logo.png) no-repeat;
- width: 250px;
- padding: 20px;
- padding-top:120px;
- margin: 200px auto;
- -webkit-border-radius: 1em;
- -moz-border-radius: 1em;
- border-radius: 1em;
- border: 1px solid #DDD;
- /*** Shadow behind the box ***/
- -moz-box-shadow:0px 2px 5px #e0e0e0;
- -webkit-box-shadow:0px 2px 5px #e0e0e0;
Add Comment
Please, Sign In to add comment