Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.1

0.6.1 / tests / libweb / Layout / input / grid / abspos-item-with-padding.html

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

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

.abspos-item-with-grid-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    grid-area: a;
}

.abspos-item-with-auto-placement {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
}
</style><div class="grid"><div class="abspos-item-with-grid-area">A</div><div class="abspos-item-with-auto-placement">B</div></div>