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:
parent
a2abc5b824
commit
d7a3b65a44
3 changed files with 125 additions and 21 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue