You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using this great add-on for a html sitemap on my website. I would like to know if it would be possible to give the last item in a list a custom class, like 'lastItem', so I could style it different. Does anyone know how I could achieve this? (and maybe the first item as well..?)
Thanks for any help!
Michelle
The text was updated successfully, but these errors were encountered:
If you want to style them I assume you're dealing with html. In this case, the pseudo class :first-child and :last-child would do. You can use a polyfill such as Selectivizr to use :last-child in IE6, 7, 8.
Hi, I'm using this great add-on for a html sitemap on my website. I would like to know if it would be possible to give the last item in a list a custom class, like 'lastItem', so I could style it different. Does anyone know how I could achieve this? (and maybe the first item as well..?)
Thanks for any help!
Michelle
The text was updated successfully, but these errors were encountered: