How to preserve the default border style swap for buttons when pressed?
Default buttons have that neat effect that swaps the two colors of their outset when pressed. However, once you customize anything other than the width, that effect goes away. While I know I could probably achieve the effect by setting border colors and then swapping them with button:active, I'd like to know if there's a way to preserve this default behavior while changing the color/setting the style to outset without having to access the pseudo-class.
4 Replies
different browsers can have different styles for form elements. so if you want to customize them, i would'nt rely too much on defaults, but set it all up yourself
hello
I can help you.
@^^Lovely^^ if you can help, please just help and don't announce it.
just as a reminder of the #πrules given your previous post, we don't allow soliciting on this server, which includes offering to help through DMs for payment or trying to find a job.
That said, if you want to help for free and here in open chat, that's very welcome and please just do so π
That's a very good point actually, thanks!! I think I'll end up doing what I said I could do in my message instead