The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] Reverse position
Hi this is my menu:
<ul> <li><a href="">link1</a></li> <li><a href="">link2</a></li> </ul>
with inline css the result is:
(link1) (link2)
without changing the html code you can change the position ?
(link2) (link1)
thanks
A Codepen demo would be useful but the most obvious solution would be to float the li to the right.
li
Sure, try it out with flexbox.
http://codepen.io/jmaker/pen/EaBrav
thanks!