For example: set the color
value of the <a></a>
tag using the value of the value attribute of the <input />
:
<a>text</a> <input type="text" value="red"/>
PS already searched and decided that it is impossible, but suddenly underestimated css3 ...
And why even such a construction does not work:
<input type="text" style="color: attr(value color)" value="#f00" />
Thank!