I've been attempting to format my two anchor tags enclosed in a flip box with line breaks. Currently, both anchors are inline which is causing an issue due to the flexbox styling applied to the container. I'm struggling to figure out how to move the second anchor below the first one.
Here's my HTML code: Codepen Link
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<div style="display: flex; align-items: center; justify-content: center;" class="flip-box-back">
<i class="fas fa-download"></i>
<a href="#" download>download</a>
<hr>
<div class="break">
<i class="fas fa-eye"></i>
<a href="#">view</a>
</div>
</div>
I have already tried using the <br>
and <hr>
elements in the HTML code without success.
For reference:
https://i.sstatic.net/znJjB.png
Your help will be greatly appreciated. Thank you in advance.