CSS questine

Out of context: Reply #12

  • Started
  • Last post
  • 13 Responses
  • vwsung18t0

    .splash-header{
    background-color: #FFF;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    background-image: url(ALCORA_dno2-1277.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-bottom: -5px;

    display: table;
    }

    .splouche1-text-box {
    margin: auto;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    }

View thread