Stone Road

stone-road.org

57,802 views
50 followers
10,273 updates
0 tips
Learned about the "outline" property today. It's exactly what I was looking for to create a hover effect recently. The only difference between "outline" and "border" is that outline DOES NOT take up physical space. It's a bit like an illusion, where as border will change the spacing of an object and objects around it. https://www.w3schools.com/css/css_outline.asp
4 likes
pxhc's avatar pxhc 3 months ago

I always * { box-sizing: border-box; } so borders don't change the size of the element nor stuff around (it does compress stuff inside though)

stoneroad's avatar stoneroad 3 months ago

I'm not completely sure that would have worked in my case? Actually, it might have, but you would have to make the orignal state have a transparent border and then the :hover state have a visible border. Either way is okay.

Website Stats

Last updated 1 month ago
CreatedJul 9, 2025
Site Traffic Stats

Tags

scooby road stone seawater captain