开发者

Style last item differently with Isotope jQuery script

I'm working on a site that has a product info laid out in a CSS grid where the last div of each row has to be a member of the .last css class. I'd like to use Isotope to handle the sorting and filtering effects, but I'm having trouble figuring out how to get elements rearranged by Isotope at the end of each row to get assigned the .last class so that they don't overflow into the spac开发者_如何学编程e that the next row is using.

How can I use Isotope while ensuring that the last div of each row retains the .last class?


See Targeting first item after sorting - Metafizzy blog

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜