I'm using an unordered list as a navigation menu. The Main Menu needs to have rounded edges on the last item only. I can achieve that using the border-radius property on the ul tag and made the background colour of li tags transparent. I've run into a problem now that I need to specify a hover colour.
If I give the colour to the li item, the last item appears square and if I give the border radius to the hover property then all the others have a rounded bottom. Is there any way to give a rounded border for only the last list item?
If I give the colour to the li item, the last item appears square and if I give the border radius to the hover property then all the others have a rounded bottom. Is there any way to give a rounded border for only the last list item?
Comment