How-to make input form and textarea like bootstrap style in this example we learn how to make input form and textarea like bootstrap style with CSS only <style> textarea, input{ padding: 6px 12px; font-size: 14px; line-height: 1.42857143; color: #555; background-color: #fff; background-image: none; border: 1px solid #ccc; border-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%); box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%); -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s; } textarea:focus, input:focus { border-color: #66afe9; outline: 0; -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%); box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%); } </style> <textarea style="width:100%; height:200px">textarea </textarea> <hr> <input type="text" value="input form"/> © 2025 Manajmnt code Share to : ☷✎ Related How to Cut, Copy and Paste inside div tag with buttons using JavaScript In this code I will be share with you how to copy and cut from textarea or content editable tag ,an… Read MoreToggle between creation mode and editor mode like [ blogger editor ] using codemirror & JavaScriptIn this code Iwill be share with you how to Toggle between creation mode and editor mode like [ blog… Read MoreMeta description generator from URL using JavaScriptIn this example we will extract current url and then change the symboles of url ("-", "_", "/"...),… Read More Comments
Comments
Post a Comment
message