1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

LibWeb: Vertically align HTML Button content

This commit is contained in:
Tom 2023-08-06 15:59:40 +02:00 committed by Andreas Kling
parent a2abc5b824
commit d7a3b65a44
3 changed files with 125 additions and 21 deletions

View file

@ -0,0 +1,18 @@
<style type="text/css">
.border-black {
border: 10px solid black;
}
button {
height: 200px;
}
</style>
<body>
<button class="button border-black">
<div class="border-black">
one
</div>
<div class="border-black" style="height: 100px">
two
</div>