How to change the color of placeholder in textarea?

Help make the white color teaxtаre's here is the code -
<textarea class="text required editor-area pastable" placeholder="comment Text" tabindex="0" data-upload_url="test.ru" data-item_type="comment" name="comment[body]" id="comment_body" style="overflow: hidden; overflow-wrap: break-word; height: 89px;"></textarea>


it's all tried, not working > ::placeholder {color: #fff;} \ textarea::placeholder {color: #fff;}

and with class too.

for half an hour I am suffering because of this nonsense I can not find the answer in Google. :(
April 3rd 20 at 18:47
2 answers
April 3rd 20 at 18:49
Solution
tried that too, not working. - arjun_Abshire commented on April 3rd 20 at 18:52
there the code has <input> and in my code it is not present. - arjun_Abshire commented on April 3rd 20 at 18:55
@arjun_Abshire, https://codepen.io/Freeda.Champlin/pen/ExaWwLa - Freeda.Champlin commented on April 3rd 20 at 18:58
@Freeda.Champlin, does not work me the option of 3-4 times thrown off. - arjun_Abshire commented on April 3rd 20 at 19:01
@arjun_Abshire, where exactly is not working? Chrome and Firefox — everything is fine.

Either something interrupts, without the code it is impossible to say. Watch inspector. - Vaughn_Krajcik94 commented on April 3rd 20 at 19:04
@Vaughn_Krajcik94already did it, thank you! it was necessary to put!Important - arjun_Abshire commented on April 3rd 20 at 19:07
@arjun_Abshire, something interrupts, important is only to bypass the specificity and the cascade. That is, somewhere below the cascade announced different rules for these pseudo-selectors. - Vaughn_Krajcik94 commented on April 3rd 20 at 19:10
@Vaughn_Krajcik94,
subject
b2b7c451cbddc634ecc0dc37031fb4d6.jpg
- kelsie.Russel commented on April 3rd 20 at 19:13
April 3rd 20 at 18:51
Solution
What's the problem? By analogy, any color of text you can put.
in codepen'e changes but when I write in the css editor, it does not change. - arjun_Abshire commented on April 3rd 20 at 18:54
@arjun_Abshiredifficult to understand by words, what's really going on. Perhaps the preponderance of selectors are !important specified as an option - Ctrl + F5 to reset the cache. - Chelsea42 commented on April 3rd 20 at 18:57
@Chelsea42, what a fool, did not think about !important ♂app - arjun_Abshire commented on April 3rd 20 at 19:00

Find more questions by tags CSS