Newer
Older
minerva / Tests / LibWeb / Layout / input / grid / columns-auto-fill-with-gap.html
@minerva minerva on 13 Jul 404 bytes Initial commit
<!doctype html><style>
* {
    margin: 0px;
    box-sizing: border-box;
    outline: 1px solid black;
}
body {
    width: 470px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    column-gap: 150px;
    background: pink;
}
.item {
    height: 100px;
    background: orange;
}
</style><body><div class="grid"><div class="item"></div><div class="item"></div>