/*todoList2.css*/ body { /*background: steelblue;*/ max-width: 80%; background: #085078; /* fallback for old browsers */ background: -webkit-linear-gradient(to right, #85D8CE, #085078); /* Chrome 10-25, Safari 5.1-6 */ background: linear-gradient(to right, #85D8CE, #085078); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ } h1 { background: #085078; /* fallback for old browsers */ color: white; margin: 0; padding: 10px 20px; text-transform: uppercase; font-size: 24px; font-weight: normal; } span { background: #e74c3c; height: 40px; margin-right: 20px; text-align: center; color: white; width: 0; display: inline-block; transition: 0.3s linear; opacity: 0; } ul { list-style: none; margin: 0; padding: 0; } div { /*background: lightgrey;*/ width: 500px; margin: 0 auto; } li { font-family: 'Indie Flower', cursive; background: #fff; height: 40px; line-height: 40px; color: 666; font-weight: bold; } li:nth-child(2n) { background: #f7f7f7; } li:hover span { width: 40px; opacity: 1.0; } input { font-size: 18px; color: #2980b9; background-color: #f7f7f7; width: 100%; padding: 13px 13px 13px 20px; box-sizing: border-box; } input:focus { background: #fff; border: 3px solid #2980b9; outline: none; } #container { width: 360px; margin: 100px auto; background: #f7f7f7; box-shadow: 0 0 3px rgba(0,0,0.1); /*box-sizing: border-box;*/ } .completed { color: rgb(128, 128, 128); text-decoration: line-through; } .fa-plus { float: right; }