mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 18:45:08 +00:00

Visual improvement on (now there is a gap between grid items): https://twinings.co.uk/collections/earl-grey-tea
16 lines
No EOL
326 B
HTML
16 lines
No EOL
326 B
HTML
<!DOCTYPE html><style type="text/css">
|
|
* {
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
display: grid;
|
|
}
|
|
|
|
.item {
|
|
padding: 0 100px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
</style><div class="grid"><div class="item"><div>One</div></div><div class="item"><div>Two</div></div></div> |