Implementing Angular Material, my objective is to design a horizontal line with a word positioned in the center. Similar to the one showcased here.
I experimented with this code, achieving a close result, but I aim to align the lines vertically to the middle of the word or.
<div layout="row" layout-align="center start">
<md-divider flex></md-divider>
<div style="flex: 0 1 auto;">or</div>
<md-divider flex></md-divider>
</div>
http://jsfiddle.net/devotis/a7m6xrwy/
Incorporating styled <hr>
's on the left and right might enhance this code structure while staying compliant with Angular Material standards?