Easy way to center text between two cards


So I have two cards that are equally spaced apart, and between those I have text that is a single line. I want to keep the text perfectly centered between the two cards even when the cards change height due to text content within the cards. How can I make this possible?