Tuesday, October 6, 2020

TODO LIST APP CSS

*{
    margin0;
    padding0;
    box-sizingborder-box;
}

body{
    background-colorblack;
}

.header{
    displayflex;
    width100%;
    margin10px auto;
    font-size2rem;
    colorblack;
    text-alignleft;
    flex-directionrow;
    backgroundblack;
    border-radius10px;
}

.header h1{
    margin10px;
}

.header #search{
    positionabsolute;
    right56px;
    top40px;
    width760px;
    colorwhite;
    background-colorblack;
    height40px;
    border2px solid red;
    border-radius10px;
    text-aligncenter;
    font-sizelarge;
    outlinenone;
}

#colorChange{
    animation: changecolor 3s infinite;
}

@keyframes changecolor{
    25%{
        colorblue;
    }
    50%{
        colorred;
    }
    75%{
        coloryellow;
    }
}

.main-container{
    displayflex;
    flex-directionrow;
}

.container1{
    displayflex;
    flex-directioncolumn;
    justify-contentcenter;
    align-itemscenter;
    height500px;
    width50%;
    border-right2px solid white;
}

.container1 #head{
    border0;
    background-colorblack;
    displayblock;
    text-aligncenter;
    border2px solid blue;
    padding14px 10px;
    widthinherit;
    outlinenone;
    colorwhite;
    font-size20px;
    border-radius24px;
    transition0.25s;
    margin-top10px;
}

.container1 #desc{
    border0;
    background-colorblack;
    displayblock;
    text-aligncenter;
    border2px solid blue;
    padding14px 10px;
    widthinherit;
    outlinenone;
    colorwhite;
    font-size20px;
    border-radius24px;
    transition0.25s;
    margin-top10px;

}

.container1 #addTask{
    background-colorred;
    width200px;
    outlinenone;
    font-size30px;
    colorwhite;
    border-radius10px;
    widthinherit;
    margin-top10px;
}

#container2{
    displayflex;
    flex-directioncolumn;
    justify-contentstart;
    align-itemscenter;
    width900px;
    height500px;
    border2px solid white;
    border-radius20px;
    outlinenone;
    scroll-behaviorsmooth;
    overflowhidden;
    padding10px 0px;
    overflow-yauto;

}

#container2 .card{
    displayflex;
    flex-directioncolumn;
    align-itemscenter;
    justify-contentstart;
    width700px;
    height100px;
    backgroundcornflowerblue;
    margin15px;
    cursorpointer;
    bordernone;
    border-radius10px;
    padding10px 3px;
}

#container2 .card button{
    background-colorgreen;
    width200px;
    outlinenone;
    colorwhite;
    border-radius10px;
    widthinherit;
    margin-top10px;
    font-size30px;

}


    

No comments:

Post a Comment