Reputation: 1584
Is it possible to do something like this in Zepto for selecting elements greater or less than an index:
$( "td:gt(4)" ).css( "backgroundColor", "yellow" );
$( "td:gt(-2)" ).css( "color", "red" );
as on https://api.jquery.com/gt-selector/
Upvotes: 1
Views: 250