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
{{ message }}
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.
One neat feature that the-other-styling-framework (:smile:) has is support for CSS's :nth-child pseudo-class. It comes in particularly handy for e.g. when giving alternating background colours to UITableViewCell.
The way web devs did this before :nth-child was invented was to append a class of "even" to the even table rows and define the styles for .even in your CSS file. Could do the same with Classy and would be more in line with what I think is great about the separation between style and content that Classy provides. I can work up an example if you want more details.
One neat feature that the-other-styling-framework (:smile:) has is support for CSS's
:nth-child
pseudo-class. It comes in particularly handy for e.g. when giving alternating background colours toUITableViewCell
.What I am currently doing is something like
And the stylesheet has:
It'd be great if there was a better way to do this!
The text was updated successfully, but these errors were encountered: