dimanche 28 août 2016

float does not work when parent have flex display

here is a sample html:

<body>
<footer style="display: flex;">
    <span style="text-align: right;float: right;">
        <a>foo link</a>
    </span>
</footer>
</body>

i want to set/move text(foo link) position in right of the footer element. and i need footer display remain flex. but when i set it to flex, float:right for span don't work anymore.
http://ift.tt/2bJpHCm




Aucun commentaire:

Enregistrer un commentaire