4
Test scenario
I have an input on a <td>
, in which the background of <td>
has color:
td {
padding: 2em;
background-color: yellow;
}
<table>
<tr>
<td class="marcado">
<input type="number"/>
</td>
</tr>
</table>
Doubt
- I wonder, how can I create a "watermark" with the CSS in that background of
<td>
, so that I can use it including by class (in the example, class "marked").
There are things that are better with images, I know you have the tips with pure CSS, but there are things that if you’re going to talk about the problems or the complexity would give you two pages of text, so I’m going to limit myself to that, background-image and SVG would match well to solve your case ;)
– Guilherme Nascimento