Remove the input highlighted box on click [duplicate]










0
















This question already has an answer here:



  • Remove default focus outline and change to different color [duplicate]

    1 answer



I tried to remove the highlighted blue box in the following picture on clicking the input. It is not working. What's wrong here?



enter image description here



<link href="css/bootstrap-v3.5.5.min.css" rel="stylesheet" type="text/css">

<input type="text" class="form-control" placeholder="Enter here" readonly>


In css,



.form-control:focus 
outline: none;










share|improve this question















marked as duplicate by Temani Afif css
Users with the  css badge can single-handedly close css questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Nov 13 '18 at 8:20


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • if it's bootstrap, add the relevant tag

    – Temani Afif
    Nov 12 '18 at 23:57











  • Here it is. Missed the coding tag.

    – Gene9y
    Nov 13 '18 at 0:12











  • I meant if it's bootstrap, add the bootstrap tag with the version

    – Temani Afif
    Nov 13 '18 at 0:24











  • Yep, it is added.

    – Gene9y
    Nov 13 '18 at 0:27











  • Yes, it is working now.

    – Gene9y
    Nov 13 '18 at 2:03















0
















This question already has an answer here:



  • Remove default focus outline and change to different color [duplicate]

    1 answer



I tried to remove the highlighted blue box in the following picture on clicking the input. It is not working. What's wrong here?



enter image description here



<link href="css/bootstrap-v3.5.5.min.css" rel="stylesheet" type="text/css">

<input type="text" class="form-control" placeholder="Enter here" readonly>


In css,



.form-control:focus 
outline: none;










share|improve this question















marked as duplicate by Temani Afif css
Users with the  css badge can single-handedly close css questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Nov 13 '18 at 8:20


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • if it's bootstrap, add the relevant tag

    – Temani Afif
    Nov 12 '18 at 23:57











  • Here it is. Missed the coding tag.

    – Gene9y
    Nov 13 '18 at 0:12











  • I meant if it's bootstrap, add the bootstrap tag with the version

    – Temani Afif
    Nov 13 '18 at 0:24











  • Yep, it is added.

    – Gene9y
    Nov 13 '18 at 0:27











  • Yes, it is working now.

    – Gene9y
    Nov 13 '18 at 2:03













0












0








0









This question already has an answer here:



  • Remove default focus outline and change to different color [duplicate]

    1 answer



I tried to remove the highlighted blue box in the following picture on clicking the input. It is not working. What's wrong here?



enter image description here



<link href="css/bootstrap-v3.5.5.min.css" rel="stylesheet" type="text/css">

<input type="text" class="form-control" placeholder="Enter here" readonly>


In css,



.form-control:focus 
outline: none;










share|improve this question

















This question already has an answer here:



  • Remove default focus outline and change to different color [duplicate]

    1 answer



I tried to remove the highlighted blue box in the following picture on clicking the input. It is not working. What's wrong here?



enter image description here



<link href="css/bootstrap-v3.5.5.min.css" rel="stylesheet" type="text/css">

<input type="text" class="form-control" placeholder="Enter here" readonly>


In css,



.form-control:focus 
outline: none;





This question already has an answer here:



  • Remove default focus outline and change to different color [duplicate]

    1 answer







css twitter-bootstrap input twitter-bootstrap-3 border






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 0:28









Temani Afif

78.5k94590




78.5k94590










asked Nov 12 '18 at 23:47









Gene9yGene9y

2331315




2331315




marked as duplicate by Temani Afif css
Users with the  css badge can single-handedly close css questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Nov 13 '18 at 8:20


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Temani Afif css
Users with the  css badge can single-handedly close css questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Nov 13 '18 at 8:20


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • if it's bootstrap, add the relevant tag

    – Temani Afif
    Nov 12 '18 at 23:57











  • Here it is. Missed the coding tag.

    – Gene9y
    Nov 13 '18 at 0:12











  • I meant if it's bootstrap, add the bootstrap tag with the version

    – Temani Afif
    Nov 13 '18 at 0:24











  • Yep, it is added.

    – Gene9y
    Nov 13 '18 at 0:27











  • Yes, it is working now.

    – Gene9y
    Nov 13 '18 at 2:03

















  • if it's bootstrap, add the relevant tag

    – Temani Afif
    Nov 12 '18 at 23:57











  • Here it is. Missed the coding tag.

    – Gene9y
    Nov 13 '18 at 0:12











  • I meant if it's bootstrap, add the bootstrap tag with the version

    – Temani Afif
    Nov 13 '18 at 0:24











  • Yep, it is added.

    – Gene9y
    Nov 13 '18 at 0:27











  • Yes, it is working now.

    – Gene9y
    Nov 13 '18 at 2:03
















if it's bootstrap, add the relevant tag

– Temani Afif
Nov 12 '18 at 23:57





if it's bootstrap, add the relevant tag

– Temani Afif
Nov 12 '18 at 23:57













Here it is. Missed the coding tag.

– Gene9y
Nov 13 '18 at 0:12





Here it is. Missed the coding tag.

– Gene9y
Nov 13 '18 at 0:12













I meant if it's bootstrap, add the bootstrap tag with the version

– Temani Afif
Nov 13 '18 at 0:24





I meant if it's bootstrap, add the bootstrap tag with the version

– Temani Afif
Nov 13 '18 at 0:24













Yep, it is added.

– Gene9y
Nov 13 '18 at 0:27





Yep, it is added.

– Gene9y
Nov 13 '18 at 0:27













Yes, it is working now.

– Gene9y
Nov 13 '18 at 2:03





Yes, it is working now.

– Gene9y
Nov 13 '18 at 2:03












1 Answer
1






active

oldest

votes


















0














First, ensure that your style comes after your Bootstrap styles so that it overwrites them. The box-shadow is set to none. Not sure if you also wanted the blue border to be removed on focus, so I've changed that too.






<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

<style>
.form-control:focus
box-shadow: none;
border: 1px solid #ccc;

</style>
<input type="text" class="form-control" placeholder="Enter here">








share|improve this answer





























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    First, ensure that your style comes after your Bootstrap styles so that it overwrites them. The box-shadow is set to none. Not sure if you also wanted the blue border to be removed on focus, so I've changed that too.






    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

    <style>
    .form-control:focus
    box-shadow: none;
    border: 1px solid #ccc;

    </style>
    <input type="text" class="form-control" placeholder="Enter here">








    share|improve this answer



























      0














      First, ensure that your style comes after your Bootstrap styles so that it overwrites them. The box-shadow is set to none. Not sure if you also wanted the blue border to be removed on focus, so I've changed that too.






      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

      <style>
      .form-control:focus
      box-shadow: none;
      border: 1px solid #ccc;

      </style>
      <input type="text" class="form-control" placeholder="Enter here">








      share|improve this answer

























        0












        0








        0







        First, ensure that your style comes after your Bootstrap styles so that it overwrites them. The box-shadow is set to none. Not sure if you also wanted the blue border to be removed on focus, so I've changed that too.






        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

        <style>
        .form-control:focus
        box-shadow: none;
        border: 1px solid #ccc;

        </style>
        <input type="text" class="form-control" placeholder="Enter here">








        share|improve this answer













        First, ensure that your style comes after your Bootstrap styles so that it overwrites them. The box-shadow is set to none. Not sure if you also wanted the blue border to be removed on focus, so I've changed that too.






        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

        <style>
        .form-control:focus
        box-shadow: none;
        border: 1px solid #ccc;

        </style>
        <input type="text" class="form-control" placeholder="Enter here">








        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

        <style>
        .form-control:focus
        box-shadow: none;
        border: 1px solid #ccc;

        </style>
        <input type="text" class="form-control" placeholder="Enter here">





        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

        <style>
        .form-control:focus
        box-shadow: none;
        border: 1px solid #ccc;

        </style>
        <input type="text" class="form-control" placeholder="Enter here">






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 13 '18 at 1:16









        MichaelvEMichaelvE

        1,3751312




        1,3751312















            Popular posts from this blog

            𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

            Edmonton

            Crossroads (UK TV series)