How to create a glowing border around a HTML Input Field? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to create a glowing border around a HTML Input Field?

NickFNickF USAPosts: 132Member

I have seen some text boxes where it has a glowing border. How can I add it?

Comments

  • DavidMDavidM USAPosts: 342Member
    .glowing-border {
        border: 2px solid #dadada;
        border-radius: 7px;
    }
    
    .glowing-border:focus { 
        outline: none;
        border-color: #9ecaed;
        box-shadow: 0 0 10px #9ecaed;
    }
    
Sign In or Register to comment.