javascript - Input text field with close button -


i want make input text field little x (close) button @ top right corner. please me out how should done in css3 or bootstrap 3. thank

this simple demo:

html:

<input type="text"><span class="close-icon">x</span> 

css:

    .close-icon{        position:relative;        left: -14px;        top: -4px;     } 

Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -