Текст-заполнитель в элементе управления вводом HTML или Blazor. Может ли он быть «легче»?CSS

Разбираемся в CSS
Ответить
Anonymous
 Текст-заполнитель в элементе управления вводом HTML или Blazor. Может ли он быть «легче»?

Сообщение Anonymous »


I notice that on most sites (including Stack Overflow) that it is thankfully very clear to my eye when an input is merely displaying 'placeholder' text as opposed to the text I might type into the input.

And yet (unless I'm missing something) in my Blazor apps, the default 'placeholder' text seems to appear almost dark enough that it can easily be mistaken for actual input text.

I understand that I could compose 'placeholder' strings that are unlikely to ever be mistaken for actual input text, but I thought I'd ask this anyway; just in case there's an answer out there:

Is there a way to make 'placeholder' text look more like...well... 'placeholder' text? For example, I'm doubtful, but is there a way for CSS just to address 'placeholder' font styling?


Источник: https://stackoverflow.com/questions/779 ... be-lighter
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «CSS»