CSS Ostatnie 3 dziecko

#something a:nth-last-child(-n+3) {
    /*declarations*/
}
Tough Termite