.heading:not(:last-child) not working code example Example: .heading:not(:last-child) not working p:not(:last-child) {