:-moz-last-node {
/* ... */
}`:-moz-last-node` CSS pseudo-class / notebook
`:-moz-last-node` CSS pseudo-class
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
<p>
<span>This does not match.</span>
<span>This matches!</span>
</p>
<p>
<span>This doesn't match because it's followed by text.</span>
Blahblah.
</p>span:-moz-last-node {
background-color: lime;
}