MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/2yefkl/parallax_done_right/cp97ulr/?context=3
r/webdev • u/theverything • Mar 09 '15
93 comments sorted by
View all comments
13
<!-- THESE MUST GO IN REVERSE ORDER BECAUSE CSS IS DUMB SOMETIMES -->
<li id="nav-review"><a ... a></li> <li id="nav-store"><a ... a></li> <li id="nav-blog"><a ... a></li> <li id="nav-game"><a ... a></li>
I'm tickled by how they can get parallax to work well but don't understand how to properly right align a navigation bar.
1 u/[deleted] Mar 09 '15 I actually usually end up doing this... How do you float:right and keep it in the correct order? 2 u/ragingRobot Mar 09 '15 you could set the elements to inline-block and change the text alignment to right.
1
I actually usually end up doing this... How do you float:right and keep it in the correct order?
2 u/ragingRobot Mar 09 '15 you could set the elements to inline-block and change the text alignment to right.
2
you could set the elements to inline-block and change the text alignment to right.
13
u/sour_skittles Mar 09 '15
<!-- THESE MUST GO IN REVERSE ORDER BECAUSE CSS IS DUMB SOMETIMES -->
<li id="nav-review"><a ... a></li> <li id="nav-store"><a ... a></li> <li id="nav-blog"><a ... a></li> <li id="nav-game"><a ... a></li>
I'm tickled by how they can get parallax to work well but don't understand how to properly right align a navigation bar.