Answers for "show/hide div on input focus css only"

CSS
2

hide input border on focus

input:focus{
    border: none;
}
Posted by: Guest on April-22-2021
0

hide div onfocus

<input type="text" 
    onfocus="document.getElementById('show_hide').style.display='block';"
    onblur="document.getElementById('show_hide').style.display='none';">
Posted by: Guest on August-10-2021

Browse Popular Code Answers by Language