4 ms·
> Custom icons for an input field? Welp, it’s not that easy for privacy reasons to add a pseudo-class here in certain cases. What exactly are those privacy rea
by spoonfeeder006 2y ago
> Custom icons for an input field? Welp, it’s not that easy for privacy reasons to add a pseudo-class here in certain cases.
What exactly are those privacy reasons? And by custom icon for input field is meant replacing the cursor with e.g. an svg?
- AlienRobot 2y agoThe only thing I can imagine is if they are third-party icons? I don't understand it either.
- alex-e-leon 2y agoThe issue is that css doesnt allow adding pseudo elements (:before/after) to input fields, making adding icons to an input a little trickier than with other elements.