Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.0

0.6.0 / tests / libweb / Layout / input / grid / abspos-item-with-grid-area-aligned-in-center.html

<!DOCTYPE html><style>
* {
    border: 1px solid black;
}

.grid {
    display: grid;
    grid-template-columns: 100px 100px;
    grid-template-rows: 100px 100px;
    grid-template-areas: "a b"
                         "c c";
    position: relative;
    width: 200px;
}

.abspos-item {
    position: absolute;
    box-sizing: border-box;
    background-color: magenta;
    width: 50px;
    height: 50px;
    grid-area: b;
    align-self: center;
    justify-self: center;
}
</style><div class="grid"><div class="abspos-item"></div></div>