The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Vertically Align block element inside div
Here is my codepen. I want to align “apply” in the middle of the div.
This is what I have so far
…and not forgetting the old favourite
Which one would you recommend?
Whichever one it appropriate for that instance. They all have different issues that sometimes can cause problems when interacting with other elements.
If one isn’t quite right, use another.