Posts

Showing posts with the label input

how to make a disabled input box bigger depending of the content inside of it in javascript or CSS

how to make a disabled input box bigger depending of the content inside of it in javascript or CSS Hello I have a translaton web app like google translate where someone types a word in the english box and translates it in another box but If they write a really long word in the box that translates the word cutes the word of and you need to scroll it I hope someone can help heres my code <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> <script src='https://code.responsivevoice.org/responsivevoice.js'></script> <style> html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } #input_lang { height: 184px; width: auto; font-size: 32px; } #output_lang { heigh...