如何在Bootstrap 3中改变textarea的焦点辉光? [英] How to change focus glow of textarea in Bootstrap 3?

查看:150
本文介绍了如何在Bootstrap 3中改变textarea的焦点辉光?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想改变蓝色光芒,如果专注于Bootstrap 3输入和textareas。

I want to change the blue glow if the focus on Bootstrap 3 input and textareas.

我试着添加

textarea:focus, input:focus, input[type]:focus, .uneditable-input:focus {   
    border-color: rgba(229, 103, 23, 0.8);
    box-shadow: 0 1px 1px rgba(229, 103, 23, 0.075) inset, 0 0 8px rgba(229, 103, 23, 0.6);
    outline: 0 none;
}

到我的costum.css,但它只改变输入字段的光辉, textarea。
我也尝试过

to my costum.css but it only change the glow of input fields, not textarea. I also tried this,

.input:focus {
    outline: none !important;
    border:1px solid red;
    box-shadow: 0 0 10px #719ECE;
}

没有任何更改。

我不是CSS的精英,所以感谢您的帮助。

I am not a CSS savvy so appreciate your help.

推荐答案

尝试使用:

textarea:focus, input:focus, .uneditable-input:focus {   
    border-color: rgba(229, 103, 23, 0.8) !important;
    box-shadow: 0 1px 1px rgba(229, 103, 23, 0.075) inset, 0 0 8px rgba(229, 103, 23, 0.6) !important;
    outline: 0 none !important;
}

这篇关于如何在Bootstrap 3中改变textarea的焦点辉光?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆