Hello, first time poster here!
Client specifications for CSS:
button {
border: 1px solid #B8B7B8;
border-radius: 8px;
height: 4em;
margin: 25px 2px 25px 0;
text-align: center;
text-decoration: none;
width: 4em;
}
button:active,
button:checked,
button:focus,
button:hover {
box-shadow: 0 0 0 1.5pt #068985;
-moz-box-shadow: 0 0 0 1.5pt #068985;
outline: none;
}
<button type="button">Button</button>
The buttons are standard HTML <buttons></button>
s.
They function properly on other browsers, but I am facing an issue with Firefox.
Is there a way to maintain the border of a clicked button?
The :hover state works fine but not much else.
I have scoured the internet for a solution without luck.
Thank you in advance!
Side challenge - If anyone can help me create spacing between the button and its custom outline when selected, I will dedicate a blog post to you!