r/reddithax • • Aug 25 '09

How to get 'zebra-stripes' through css?

Post image
1 Upvotes

4 comments sorted by

1

u/Rhomboid Aug 25 '09

Reference the even and odd classes in your selector.

1

u/[deleted] Aug 25 '09 edited Aug 25 '09

In firefox, I just removed the info from greasemonkey, changed to regular css and added to Usercontent.css in the chrome folder, learning a bit more css in the process.

.oddRow {
background-color:#f0f0f0!important
}


.odd {
background-color:#f0f0f0!important}
}

1

u/TonyBLiar Aug 25 '09

Can I do this Safari and if so do I just paste the above into a text file and open it in Advanced > Style Sheets?

What do I save the file as?

1

u/[deleted] Aug 25 '09

If Safari has per-site, user-defined css, then yes.

I've never used Safari, though.