CSS - create 3 columns inline and right aligned with flex property

0 votes
10 views
added Jan 29 in CSS by lcjr First Warrant Officer (10,930 points)
.element {
    position: absolute;
    top: 0;
    right: 0; /* Align the overlay to the right */
    width: 100%; /* Set a fixed width for the overlay or adjust as needed */
    height: 100%;
    background-color: white;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: row; /* Display links in a row */
    justify-content: flex-end; /* Align links to the right */
    align-items: center;
    a {
        font-size: 0.6rem;
        margin: 5px;
        text-decoration: none;
        color: #333;
    }
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...