06-01-2023, 04:37 AM
(06-01-2023, 04:04 AM)benji wrote:(06-01-2023, 02:50 AM)railGUN wrote: I think you can get alternating backgrounds in quotes using nth-child.The way it does these quotes must be weird, look at how it did these in this post: https://thebore.net/forum/showthread.php?tid=3&pid=354#pid354
Try something like this:
blockquote:nth-child(even) {
background: red;
}
blockquote:nth-child(odd) {
background: pink;
}
I used to do so much CSS but it's crazy how much you forget when you don't do it for a couple years.
Yeah, I saw that... I'll have to fuck around a bit, I saw some nth-child(2n+1) code in there so I don't know if that's having an effect, or I could be totally off base with my approach -- I'll see what I can come up with tomorrow if I have time.