Newer
Older
minerva / Tests / LibWeb / Layout / input / block-and-inline / abspos-with-insets-and-auto-margins.html
@minerva minerva on 13 Jul 366 bytes Initial commit
<!DOCTYPE html><style>
.features-list {
    position: relative;
    width: 400px;
    height: 400px;
    border: 1px solid red;
}

.feature {
    position: absolute;
    margin: auto;
    border: 1px solid black;
    left: 100px;
    right: 100px;
    width: 200px;
    height: 200px;
}
</style><div class="features-list"><div class="feature">Autocorrect</div></div>