Created
September 20, 2015 22:36
-
-
Save ymoregola/b09ee6fc8692ffda8392 to your computer and use it in GitHub Desktop.
Shopping List : Non-Interactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Shopping List</title> | |
| <link href="css/style.css" rel="stylesheet"> | |
| </head> | |
| <body> | |
| <div class="header"> | |
| <img src="img/cart-logo.png" alt="cart-logo" class="cart-logo"> | |
| <p class="shopping-list">Shopping List</p> | |
| <p class="by-yanick"> By: Yanick Moregola</p> | |
| </div> | |
| <div class="container"> | |
| <div class="text-box"> | |
| <textarea class="item-box" placeholder="Enter item" style="resize: none" cols="20" rows="1" id="message"></textarea> | |
| <button type="submit" class="btn btn-primary" id="add-button">Add</button> | |
| </div> | |
| <div class="list_area"> | |
| <p class="item_new">Item 1<span class="mark-checked"> ✔</span><span class="delete">✘</span></p> | |
| <p class="item_new">Item 2<span class="mark-checked"> ✔</span><span class="delete">✘</span></p> | |
| <p class="item_done">Item 3<span class="delete">✘</span></p> | |
| <p class="item_done">Item 4<span class="delete">✘</span></p> | |
| <p class="item_new">Item 5<span class="mark-checked"> ✔</span><span class="delete">✘</span></p> | |
| <p class="item_done">Item 6<span class="delete">✘</span></p> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| margin: 0px; | |
| padding: 0px; | |
| } | |
| .header { | |
| color: white; | |
| background-color: gray; | |
| padding-bottom: 20px; | |
| padding-top: 25px; | |
| text-align: center; | |
| position: fixed; | |
| width: 100%; | |
| padding-top: -1em; | |
| } | |
| .cart-logo { | |
| border-radius: 50%; | |
| width: 100px; | |
| } | |
| .container { | |
| background-image: url("../img/food-background.jpg"); | |
| background-attachment: fixed; | |
| background-size: cover; | |
| width: 100%; | |
| padding-top: 60px; | |
| height: 777px; | |
| } | |
| .text-box { | |
| text-align: center; | |
| padding-top: 225px; | |
| position: fixed; | |
| left: 0; | |
| right: 0; | |
| } | |
| .list_area { | |
| left: 0; | |
| right: 0; | |
| margin-top: 18em; | |
| position: fixed; | |
| } | |
| p { | |
| background-color: #575757; | |
| border-radius: 15px; | |
| color: #fff; | |
| display: table; | |
| font-size: 12pt; | |
| height: 30px; | |
| line-height: 24pt; | |
| margin: 15px auto; | |
| padding: 0 15px; | |
| padding-left: 10em; | |
| padding-right: 10em; | |
| } | |
| .item_done { | |
| text-decoration: line-through; | |
| color: gray; | |
| } | |
| .mark-checked { | |
| color: green; | |
| } | |
| .delete { | |
| color: red; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment