是:上一个孩子在所有主流浏览器中工作?
It's not supported in IE 8 and lower but all other modern browsers support it including IE9+, Chrome 2+, Fx 3+, Safari 3.1+ and Opera 9.5+.
References:
Short answer: No.
Internet Explorer 7 and 8 are still two of the most used browsers , and they don't support the :last-child
pseudoclass.
No it isn't. Most browsers support it since one or two years, MS IE still lacks support.
http://reference.sitepoint.com/css/pseudoclass-lastchild#compatibilitysection
简而言之,它适用于所有主流浏览器的最新版本 ,但在IE9之前它不受支持。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.