*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: black;
}
.header{
display: flex;
width: 100%;
margin: 10px auto;
font-size: 2rem;
color: black;
text-align: left;
flex-direction: row;
background: black;
border-radius: 10px;
}
.header h1{
margin: 10px;
}
.header #search{
position: absolute;
right: 56px;
top: 40px;
width: 760px;
color: white;
background-color: black;
height: 40px;
border: 2px solid red;
border-radius: 10px;
text-align: center;
font-size: large;
outline: none;
}
#colorChange{
animation: changecolor 3s infinite;
}
@keyframes changecolor{
25%{
color: blue;
}
50%{
color: red;
}
75%{
color: yellow;
}
}
.main-container{
display: flex;
flex-direction: row;
}
.container1{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 500px;
width: 50%;
border-right: 2px solid white;
}
.container1 #head{
border: 0;
background-color: black;
display: block;
text-align: center;
border: 2px solid blue;
padding: 14px 10px;
width: inherit;
outline: none;
color: white;
font-size: 20px;
border-radius: 24px;
transition: 0.25s;
margin-top: 10px;
}
.container1 #desc{
border: 0;
background-color: black;
display: block;
text-align: center;
border: 2px solid blue;
padding: 14px 10px;
width: inherit;
outline: none;
color: white;
font-size: 20px;
border-radius: 24px;
transition: 0.25s;
margin-top: 10px;
}
.container1 #addTask{
background-color: red;
width: 200px;
outline: none;
font-size: 30px;
color: white;
border-radius: 10px;
width: inherit;
margin-top: 10px;
}
#container2{
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
width: 900px;
height: 500px;
border: 2px solid white;
border-radius: 20px;
outline: none;
scroll-behavior: smooth;
overflow: hidden;
padding: 10px 0px;
overflow-y: auto;
}
#container2 .card{
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
width: 700px;
height: 100px;
background: cornflowerblue;
margin: 15px;
cursor: pointer;
border: none;
border-radius: 10px;
padding: 10px 3px;
}
#container2 .card button{
background-color: green;
width: 200px;
outline: none;
color: white;
border-radius: 10px;
width: inherit;
margin-top: 10px;
font-size: 30px;
}
No comments:
Post a Comment