I have a li element inside a ul list that I wish to align to the bottom.
+------+
| li1 |
| li2 |
| li3 |
| |
| |
| |
| li4 |
+------+
How can I do this?
WHAT I HAVE TRIED:
li4 {
position: fixed;
bottom: 0;
}
This moved the li4 to the bottom. However, since the ul is inside a hidden menu, li4 will appear even if I close the menu (this is not what I want) because of the position: fixed