I am trying to use the :after CSS pseudo-element on an input field, but it does not working. i tried below code please suggest me how can i use this pseudo-element
input[type=text]:after {
content: '[after]';
width: 22px;
height: 22px;
display: inline-block;
position: absolute;
}
Search: <input type="text" name="search">
https://www.w3schools.com/code/tryit.asp?filename=FZ9FJ29FSTVU