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

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -