css div last child change inside div code example
Example 1: apply css on last child in parent div
.parent > *:last-child {
background-color: red;
}
Example 2: css last child with class
/*This will only work if the last child of someEID has
the class .myclassName
if the last child does not have class name us js*/
#someEID .myClassName:last-child {
background: blue;
}