0

I was trying to put another icon in an input tag that alredy has an icon, but when I put it, gets over the other icon like this enter image description here I just want to put the eye icon to the right side, i put the code to so if anyone finds an error.

<div class="field">
 <div class="ui left icon input">
   <i class="lock icon"></i>
   <input type="password" name="password" placeholder="Password" id="password">
   <i class="eye icon"></i>
 </div>
 <div onclick="Change()" class="ui large fluid teal button" data-show>Show password</div>
</div>
ARGENTOS72
  • 11
  • 3

1 Answers1

0

make it absolute as right:16px

Rami Ahmad
  • 3
  • 1
  • 2
  • It still don't works, but thanks in helping me. I think I will just replace the lock icon with the eye icon, but i will still wait for another answer. – ARGENTOS72 May 31 '22 at 16:42