Sunday, October 18, 2020

Password Generator CSS

 *{

    padding: 0;
    margin: 0;
    overflow: hidden;
}

body{
    background-color: black;
}


.container {
    display: flex;
    width: 393px;
    height: 310px;
    margin: 220px auto;
    border: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: yellowgreen;
}

#block{
    display: flex;
    border: 2px solid black;
    /* padding: 5px; */
    width: 350px;
    padding: 20px 10px;
    align-items: center;
    justify-content: baseline;
    font-size: 20px;
}

#textarea{
    background-color: black;
    color: white;
    border-radius: 5px;
    width: 200px;
    height: 20px;


}

#clipboard{
    margin-left: 30px;
    border-radius: 5px;
    background-color: skyblue;
    height: 30px;
    width: 40px;
}


#length{
    background-color: black;
    color: white;
    position: relative;
    right: 0px;
    width: 20px;
    margin: 0px 20px;
}

.check{
    /* margin-left: 30px; */
    position: relative;
    right: -30px;
   
}

#generatepassword{
    /* border: 2px solid black; */
    background-color: red;
    border-radius: 15px;
    color: white;
    font-size: 20px;
    width: inherit;
    padding: 5px;
    outline: none;
}



No comments:

Post a Comment