top | item 43233181

(no title)

spoonfeeder006 | 1 year 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?

discuss

order

AlienRobot|1 year ago

The only thing I can imagine is if they are third-party icons? I don't understand it either.

alex-e-leon|1 year ago

The 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.