Sunday, 7. March 2004, 22:23:36
CSS: nth-child
CSS3 added the supprt for an nth-child selector. For example, li:nth-child(even) could be used to change the background color of every other line instead of relying on server side css classes or client side javascript hacks. Please add support for this useful selector![url]http://www.w3.org/Style/CSS/Test/CSS3/Selectors/20011105/html/static/flat/css3-modsel-28.html
Sunday, 7. March 2004, 22:40:40
Considering Opera's great presence in the CSS working groups - I am a bit disappointed that we don't get more CSS3 bits to play with - even IE has more CSS3 support than Opera at the moment!
Monday, 8. March 2004, 04:04:13
Originally posted by non-troppo
Considering Opera's great presence in the CSS working groups - I am a bit disappointed that we don't get more CSS3 bits to play with
Well, I for one am quite happy that they're orking on UI enhancements presently. Some more CSS toys -would- be fun, though. Maybe for the next version?
Monday, 8. March 2004, 05:45:09
Originally posted by MTKnight
Now why would you want to do that, Moose?![]()
Why??? Cascading Love Sheets, for instance! Any list where list items need to be each differently styled either requires you to add warm s-h-i-t-e to your markup, or use adjacent ladder, or else hope that Øpera will add support for the goody goods soon! My choice goes for the ladder. That is how my Destroy is styled, after all...
M.
Wednesday, 15. February 2006, 14:14:07
Topic was created about 2 years ago but Opera still doesn't support nth-child selector. Consider adding this selector in some near build, please.
I've made some example of using this, visit my page http://zajec.no-ip.com/nth-child - it looks wouderful :-)
Thursday, 16. February 2006, 04:42:23
PLEASE I want this ! this and document.styleSheets:raider:
Originally posted by Zajec:
Nice one !visit my page http://zajec.no-ip.com/nth-child - it looks wouderful :-)
Friday, 17. February 2006, 19:15:26
Originally posted by xErath:
Nice to know someone has wishes like mine ;-)
I didn't knew there was a request this old !!
PLEASE I want this ! this and document.styleSheets:raider:
One more argument: We could use this selector to modify existing pages. For example google:
The first result from searching on white background
Second - on yellow background :-)
Saturday, 18. February 2006, 04:48:58
http://dean.edwards.name/IE7/
Thursday, 23. March 2006, 05:02:30 (edited)
Thursday, 23. March 2006, 19:50:41
Tuesday, 18. April 2006, 23:42:01
Originally posted by Zajec:
That's nice! Waiting for implementation...I remade my nice example ;-) http://zajec.net/test/nth-child
Saturday, 13. January 2007, 22:25:39
Supported CSS3 selectors (out of 578)
- ie6: 276
- ie7: 300
- Opera (latest 8692): 347
- ff2: 357
That 347 number hasn't changed in quite a while but I am sure when css3 is done or closer to done it will get added.
EDIT: +1
Friday, 28. August 2009, 22:33:21
-
nth-child(128), 129, 130... doesn't work
- nth-child() does not work with dynamic content (i.e. styles don't apply correctly)
Sunday, 30. August 2009, 04:01:17 (edited)
Monday, 31. August 2009, 20:30:13
Originally posted by fearphage:
have you filed both of those?
@fearphage, feel free to submit 2nd one.
Forums » Opera Community » Opera for desktop » Desktop wish-list
