CSS - label for selector

0 votes
223 views
added Aug 1, 2018 in CSS by LC Marshal Captain (25,790 points)
edited Aug 7, 2018 by LC Marshal
<!--example of label in HTML-->
<label for="df-checkboxes-1">From Buyer:</label>
/*CSS label selector*/
label[for=df-checkboxes-1] { 
	color: $color-blue;
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...