Skip to content

Commit

Permalink
changed style to em and improved scroll feature
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdking committed Jul 13, 2017
1 parent 6d84c88 commit 244ee49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ <h1>To-do App</h1>
</header>
<div class="main-container">
<div class="center-container">


<form class="add-todo" id="add-todo">
<input placeholder="Enter your activity..." type="text" name="description" value="">
<input type="submit" name="" value="Submit">
Expand Down
12 changes: 7 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ header h1 {

.main-container {
margin-top: 20px;
width: 300px;
height: 350px;
width: 20em;
height: 25em;
margin: 0 auto;
border-radius: 20px;
border-radius: 2em;
border: solid 8px #2c3033;
background: white;
box-shadow: 0 0 0px 1px rgba(255, 255, 255, .4), 0 0 0px 3px #2c3033;
overflow: scroll;
overflow: hidden;
position: relative;
}

.center-container {
Expand All @@ -47,7 +48,8 @@ header h1 {
width: 100%;
padding: 0px;
margin: 0px;
height: 100%;
height: 22em;
overflow-y: scroll;
}

ul {
Expand Down

0 comments on commit 244ee49

Please sign in to comment.