SyntaxFix
Write A Post
Hire A Developer
Questions
This should be the right answer. Cleanest and simplest:
.element { position: relative; top: 50%; transform: translateY(-50%); }