How come I can't remove the blue textarea border in Twitter Bootstrap?

后端 未结 18 1173
一向
一向 2020-12-07 11:02

In Chrome, there is a blue border around the textarea.

How come I can\'t remove it?

textarea:hover, input:hover, textarea:active, input:active, texta         


        
18条回答
  •  旧时难觅i
    2020-12-07 11:55

    If you are someone, who still face this issue.

    Here is the answer, thanks god.

    .radio-custom input[type=radio]:focus+label::before {
        background-image: none !important;
        outline: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
    

    You are wondering why others solution doesn't works for you.

    Because the style wasn't actually applied to radio button.

    Add this style you will find your answer

    input[type="text"] {
        margin-left: 10px;
    }
    

    label::before thats where you have to apply your style.

提交回复
热议问题