Gabriel Nazoa Gabriel Nazoa - 2 months ago 5
HTML Question

removing the blue borders in a summary element using css

I'm making my firs steps learning to code. I've been taken some courses on Internet and now I decided to continue learning from the experience while I build a Wordpress child theme.

The thing is that I made a summary. And when it's active it has a blue border.

enter image description here

I'm trying to remove it but I can't find a solution.

I tried suing this without success:

summary:active {
border:none;
}


Do you have some suggestion?

Answer

To remove it from all inputs

input {
outline:none;
}

To remove it from all tags

*:focus {
outline: none;
}
Comments