Question: I have set up a rule for the last LI tag of my UL:

```
.className li:last-child {
  stuff: here;
}

```

Am I able to set a rule in the CSS that says "apply this style to the last LI tag EXCEPT if the `last-child` is also the `first-child`", i.e. there is only one LI tag in the OL.

Answer: 
You can use it together with `:not()` selector.

> 
> CSS pseudo-class [`:not(X)`](https://developer.mozilla.org/en-US/docs/Web/CSS/:not) is a functional notation taking a simple selector *X* as an argument. It matches an element that is not represented by the argument.
> 
> 
> 

```css
li:last-child:not(:first-child) {
  color: red;
}
```

```html
<ul>
  <li>item a</li>
  <li>item b</li>
  <li>item c</li>
</ul>

<ul>
  <li>only item</li>
</ul>
```
There is an `:only-child` selector:

<https://css-tricks.com/almanac/selectors/o/only-child/>

As well as an `:only-of-type` selector

<https://css-tricks.com/almanac/selectors/o/only-of-type/>

You could use these to overwrite anything the `:last-child` selector is modifying.