alexrogers
alexrogers

Reputation: 1584

Zepto greater than selector

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

Answers (1)

bart s
bart s

Reputation: 5100

Short answer: No

Longer answer: According to zepto js JQuery CSS extensions are not supported. Zepto has some CSS extended selectors (github) but that also does not support the functionality that you are looking for.

Upvotes: 2

Related Questions