HTML code snippet
<div class="breadcrumbs row">
<button><a href="#">One</a></button>
<button><a href="#">Two</a></button>
<h1><button><a href="#">Three</a></button></h1>
</div>
Frustrating CSS
.breadcrumbs button:not(:first-of-type)::before {
content: ' / ';
cursor: default
}
I'm trying to style all buttons, except the first one, within the .breadcrumbs
class by adding a leading /
. Why isn't my rule working?
Update (ignoring the main question): Can you suggest a CSS rule that would accomplish my desired result?