#cssmenu ul ul li:last-child > a,#cssmenu ul ul li.last-item > a {

Also note that this should work without using the actual last-child CSS selector - rather a JavaScript implementation of it is used - so it should be less buggy and more reliable across browsers. What you needed was the last li element therefore using lilast-childin the CSS.


Flat Dropdown Menu Tutorial

The last-child CSS pseudo-class represents the last element among a group of sibling elements.

. Therefore in all of them it will turn red when you hover. What you were doing wrong is that in all the li elements the a element is always the last child. Selects any.

Ul lilast-childaddClass last-item. In jQuery you can write it even more compactly. Aston-menu-light ul lilast-child ahover colorred.


Css Center Align Ul List Stack Overflow


Creating A Responsive Menu


Creating A Responsive Menu


Creating A Responsive Menu


Creating A Responsive Menu


Creating A Responsive Menu

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel