HTMLify

OTP.css
Views: 110 | Author: shubh
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, rgb(10, 10, 208), rgb(246, 3, 3));
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;

}

div {

    border: 2px solid black;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 350px;
    width: 350px;



    background-color: whitesmoke;
    border-radius: 15px;
    box-shadow: 10px 10px 10px black;
}

p {
    font-size: 30px;

    padding-bottom: 10px;
    margin: auto;
    border-bottom: 2px solid black;
    padding-top: 10px;


}

button {
    text-align: center;
    margin-top: 20%;
    font-size: 28px;
    font-family: 'arial' 'bold';
    background: #3498db;
    color: white;
    border-radius: 18px;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 3px;
    padding-bottom: 3px;
    cursor: pointer;
    size: 10px;
    border: 2px solid #3498db;
}

p1 {
    display: grid;
    font-size: 23px;
    margin-top: 20px;
}

Comments