A
A
alalala2020-05-15 16:14:11
css
alalala, 2020-05-15 16:14:11

Placeholder or value style?

Forgive me for the stupid question,
is it really possible to set the style in placeholder or value for one word to be normal, for the second to be bold
?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitaliy Pershin, 2020-05-15
@alalala

D
drawnofmymind, 2020-05-15
@drawnofmymind

Really, ::placeholder

D
Dima Polos, 2020-05-15
@dimovich85

There is no such task in css. You can use custom elements , but it's quite laborious. In order not to fuss with your rake on divs and spans, it's better to use custom elements to inherit the capabilities of inputs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question