Skip to content

Truly independent web browser

385 B
Raw Blame
<!DOCTYPE html>
<style>
#auto-height-flex {
    display: flex;
    align-items: flex-start;
    background: mistyrose;
}
#auto-height-flex > svg {
    height: auto;
    background: crimson;
}
#auto-height-flex > div {
    width: 50px;
    height: 80px;
    background: maroon;
}
</style>
<div id="auto-height-flex">
    <svg viewBox="0 0 2 1" height="30"></svg>
    <div></div>
</div>