Kartu

mail@pastecode.io avatar
unknown
css
4 years ago
1.5 kB
7
Indexable
Never
.card-width {
    margin-top: 20px;
    width: 500px;
    height: 310px;
    border-radius: 15px;
    color: black;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #daf7f6;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}
 
.hr {
    border: 1px solid black;
    margin: 5px 0px;
}
 
@media print {
    .card-width {
        margin-top: 40px;
        width: 500px;
        height: 310px;
        border-radius: 15px;
        color: black;
        text-transform: uppercase;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        background-color: #daf7f6;
        /*background-image: url('../img/logo-tni.png');*/
        background-position: center;
        background-repeat: no-repeat;
        background-size: 50%;
        margin-bottom: 70px;
    }
 
    .hr {
        border: 1px solid black;
        margin: 5px 0px;
    }
}
 
@media screen {
    .card-width {
        margin-top: 20px;
        width: 500px;
        height: 310px;
        border-radius: 15px;
        color: black;
        text-transform: uppercase;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        background-color: #daf7f6;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 50%;
    }
 
    .hr {
        border: 1px solid black;
        margin: 5px 0px;
    }
}