Не растягивается background: liner-gradient, для html и body задано 100%(через _reset.css), для бэкграунда давал и cover и проценты выставлял 100% 100%, всё равно у фона появляется белая полоса снизу.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Todo-List</title>
<link rel="stylesheet" href="css/style.min.css">
</head>
<body>
<div class="todo-list__container">
<div class="addform">
<div class="addform__title title">Add Task...</div>
<input class="addform__input" placeholder="Enter the task here..." type="text">
<button class="addform__button">Add +</button>
</div>
<div class="todo-list">
<h1 class="todo-list__title title">Tasks</h1>
<ul class="todo-list__items">
<li class="todo-list__item">
<p>Go to the GYM</p>
<button class="todo-list__change-btn">chg</button>
<button class="todo-list__delete-btn">del</button>
</li>
<li class="todo-list__item">
<p>Go to the GYM</p>
<button class="todo-list__change-btn">chg</button>
<button class="todo-list__delete-btn">del</button>
</li>
<li class="todo-list__item">
<p>Go to the GYM</p>
<button class="todo-list__change-btn">chg</button>
<button class="todo-list__delete-btn">del</button>
</li>
<li class="todo-list__item">
<p>Learn JS</p>
<button class="todo-list__change-btn">chg</button>
<button class="todo-list__delete-btn">del</button>
</li>
<li class="todo-list__item">
<p>Cook</p>
<button class="todo-list__change-btn">chg</button>
<button class="todo-list__delete-btn">del</button>
</li>
</ul>
</div>
</div>
<script src="js/main.min.js"></script>
</body>
</html>
@import "_reset";
@import "_libs";
@import "_vars";
@import "_fonts";
body {
height: 100%;
background: linear-gradient(125deg, rgba(255,124,0,1) 0%, rgba(0,0,0,1) 38%, rgba(0,0,0,1) 92%, rgba(98,48,1,1) 100%) no-repeat 100% 100%;
font-family: BebasNeue, sans-serif;
font-weight: 400;
font-size: 40px;
}
.todo-list__container{
display: flex;
flex-direction: column;
justify-content: center;
max-width: 550px;
}
.addform {
display: flex;
flex-wrap: wrap;
width: 100%;
margin-left: 5vw;
background-color: #ffffff;
color: #000000;
border-radius: 20px;
overflow: hidden;
box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 1);
margin-bottom: 5vh;
}
.addform__title {
width: 100%;
}
.todo-list {
width: 100%;
margin-left: 5vw;
background-color: #ffffff;
color: #000000;
border-radius: 20px;
overflow: hidden;
box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 1);
}
.addform__input{
border-radius: 20px;
padding: 15px;
box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 1);
margin-left: 20px;
margin-bottom: 20px;
font-size: 24px;
width: 65%;
}
.addform__input:focus{
box-shadow: inset 0px 0px 10px 0px rgba(92, 49, 0, 1);
}
.addform__button{
width: 25%;
border-radius: 20px;
padding: 10px 15px 6px 15px;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 1);
margin-left: 20px;
margin-bottom: 20px;
font-size: 30px;
color: #ffffff;
background-color: rgba(0,0,0,1);
}
.title {
font-family: Hurricane, sans-serif;
font-size: 80px;
text-align: center;
padding-left: 50px;
padding-right: 50px;
border-radius: 20px;
margin: 20px;
box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 1);
}
.todo-list__items {
padding: 20px;
}
.todo-list__item {
border-radius: 20px;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 1);
position: relative;
padding-left: 20px;
padding-right: 20px;
position: relative;
overflow: hidden;
}
.todo-list__item:hover {
.todo-list__change-btn{
opacity: 0.9;
}
.todo-list__delete-btn{
opacity: 0.9;
}
}
.todo-list__change-btn{
opacity: 0;
background-color: #000000;
color: #ffffff;
position: absolute;
top: 0;
bottom: 0;
width: 10%;
right: 10%;
transition: all 0.6s;
}
.todo-list__delete-btn{
opacity: 0;
background-color: rgb(255, 0, 0);
color: #ffffff;
position: absolute;
top: 0;
bottom: 0;
width: 10%;
right: 0;
transition: all 0.6s;
}
.todo-list__item:not(:last-child){
margin-bottom: 20px;
}
.todo-list__item p {
font-size: 28px;
padding-top: 4px;
line-height: 1.5;
}