I have an attribute selector that targets two HTML elements:
div {
width: 40px;
aspect-ratio: 1;
margin: 5px;
background-color: lavender;
}
div[class^="tag-"] {
outline: 2px solid tomato;
}
<div class="tag-start"></div>
<div class="tag-end"></div>
Can I create a Less selector that targets both using the attribute selector as a starting point?