Dinesh Sundaraneedi Dinesh Sundaraneedi - 3 months ago 56
HTML Question

How to remove element focus for click event in AngularJs

on click(ng-click) of any element we will get blue border by default around that element. I don't want the border so, I tried giving css as follow:

div: focus {
outline: none;
border: 0;
}


It will work only on div element, But to reflect on all elements we need to give same css on all elements by doing this we'll increase css code. Is there any way to do that?

Answer
*:focus {
    outline: none;
    border: 0;
}