in altre parole il primo e l'ultimo elemento, ovvero

input[type="checkbox"]:first-child
input[type="checkbox"]:last-child