jquery target first child code example
Example 1: jquery first child
$('div:first-child')
Example 2: jquery first child
$( "li" ).first().css( "background-color", "red" );
$('div:first-child')
$( "li" ).first().css( "background-color", "red" );