javascript - Zepto greater than selector -


is possible in zepto selecting elements greater or less index:

$( "td:gt(4)" ).css( "backgroundcolor", "yellow" ); $( "td:gt(-2)" ).css( "color", "red" ); 

as on https://api.jquery.com/gt-selector/

short answer: no

longer answer: according zepto js jquery css extensions not supported. zepto has css extended selectors (github) not support functionality looking for.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -