I'm looking for some code improvments and I would like to know something. I have this code structure :
<div class="container exports">
    <div class="row">
      <form>
        <fieldset>
          <legend class="title">Export to .csv files</legend>
              ...
        </fieldset>
      </form>
    </div>
</div>
I would like to change the legend color which is defined in white by default to black. But I don't want to affect other legends.
So in my css code, I have this :
legend {
    color: black;
}
It change color for all legends.
But when I write this :
.exports legend.title {
    color: black;
}
It doesn't apply my specific legend in black color.
Why ?