finish the item index by css