.mrtxu4qy { Vertical-align:top; Cursor: Pointe... «1000+ Plus»

Ever had a button or table row where the text just didn't sit right? If you have a custom, tall element and want to ensure the text or icon stays firmly at the top while signaling it's clickable, this snippet is for you: Use code with caution. Copied to clipboard

: Immediately tells the user, "I can be clicked". .mRtXU4qy { vertical-align:top; cursor: pointe...

Explain how to vertically center text instead (if that's your goal) Help you adjust the cursor for non-clickable elements Let me know what you'd like to do next! vertical-align CSS property - MDN Web Docs - Mozilla Ever had a button or table row where