As I continue to learn about HTML, CSS, and jQuery in order to enhance my personal website, I have encountered some challenges along the way. Thankfully, the support from individuals like yourself has been invaluable. Thank you!
Below is the current code snippet: http://jsfiddle.net/jcml/1eyz2z6g/
One issue that I've come across involves attempting to vertically center the menus by adding the class "center" to the div class "links." This has resulted in unexpected behavior, as shown here: http://jsfiddle.net/jcml/Lz4bq7mv/
.center ul {
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}
1- How can I properly center the menus vertically in this scenario?
Additionally, I have observed an issue when using the website on a mobile device. Clicking on any link labeled "Bla" causes a large box to appear, selecting all the submenu items (the parent link and sibling blas).
2- Is there a way to modify this behavior?
Lastly:
3- Can an animation time be added for collapsing and expanding elements?
Thank you.