elemen jQuery sebelum
$( "li.third-item" ).prev().css( "background-color", "red" );
Weary Wildebeest
$( "li.third-item" ).prev().css( "background-color", "red" );