mirror of
https://github.com/RGBCube/serenity
synced 2025-07-06 04:37:35 +00:00

This ensures that the vertical positioning of button text is correct if a `min-height` property is present.
6 lines
107 B
HTML
6 lines
107 B
HTML
<!DOCTYPE html><style>
|
|
button {
|
|
min-height: 100px;
|
|
}
|
|
</style><body><button>Middle-aligned text</button>
|
|
|