I'm using the latest firefox 30.0. I'm trying to insert a red font awesome star before the placeholder of required fields. I got this working in Chrome no problem but I'm having issues with FF and.
Here's a codepen illustrating my issue - http://codepen.io/anon/pen/BLibw
My markup:
<input placeholder="Address" data-required required id="id_street" name="street" type="text" />
My CSS(sass):
[data-required] {
&::-webkit-input-placeholder::before { font-family: fontAwesome; content:'\f005 '; color: $color-red; }
&::-moz-placeholder::before { font-family: fontAwesome; content:'\f005 '; color: $color-red; } /* firefox 19+ */
&:-ms-input-placeholder::before { font-family: fontAwesome; content:'\f005 '; color: $color-red; } /* ie */
}
Note: Turns out IE is giving me a hard time too.
Thanks for your help!