mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 18:24:45 -05:00
da861fe7af
This ensures consistent font metrics no matter which platform fonts are available.
21 lines
366 B
HTML
21 lines
366 B
HTML
<style>
|
|
* {
|
|
border: 1px solid black;
|
|
font-family: 'SerenitySans';
|
|
}
|
|
.flex-container {
|
|
display: flex;
|
|
width: 600px;
|
|
height: 10px;
|
|
}
|
|
.flex-item {
|
|
background: orange;
|
|
box-sizing: border-box;
|
|
min-height: 200px;
|
|
padding-top: 10%;
|
|
padding-bottom: 20%;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div class="flex-container">
|
|
<div class="flex-item">foo</div>
|