Main Page/styles.css: Difference between revisions

No edit summary
No edit summary
Line 4: Line 4:
}
}
.text-container {
.text-container {
     position: absolute;
     text-align: center;
     top: 50%;
     width: 100%;
     left: 50%;
     position: relative;
    transform: translate(-50%, -50%);
    width: 200px;
     height: 50px;
     height: 50px;
     overflow: hidden;
     overflow: hidden;
    margin: 0 auto;
}
}


.text {
.text {
     position: absolute;
     display: inline-block;
     width: 100%;
     width: 200px;
     height: 100%;
     height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
     font-size: 24px;
     font-size: 24px;
     animation: slide 6s infinite;
     animation: slide 6s infinite;