how do you solve the Ghost botten?

my nav jumps if i hover
No description
8 Replies
Jochem
Jochem6mo ago
Share your code, but in general don't put width-changing properties in :hover That includes border If you must have the line around the outside, use outline
ἔρως
ἔρως6mo ago
what you can do, for this one, is to do not remove the border on hover
snxxwyy
snxxwyy6mo ago
If you have a border, if you set it to transparent and then a different colour on hover it won’t jump
ἔρως
ἔρως6mo ago
or just ... leave it alone leave it the same color as the bg sometimes, doing absolutely nothing is the best option
Harry05
Harry05OP6mo ago
@Jochem but outline is for other mining ?!
Jochem
Jochem6mo ago
"other mining"?
ἔρως
ἔρως6mo ago
try what i said: just leave the border alone on hover thats all you have to do dont mess with outline (despite being a good suggestion), transparent borders and stuff like that just dont do anything on hover https://jsfiddle.net/y128dnq5/ <-- check this out the "good" version doesnt move because i dont touch the border on hover the "bad" version moves because i remove the border
Harry05
Harry05OP6mo ago
other meaning i mean is to use for other reason
Want results from more Discord servers?
Add your server