Re:Two examples of hover styles on images
by zooi on Wednesday October 23, 2024 @04:57AM
(#41923175)
Use outline instead:
Nearly identical to border, but without affecting layout at all.
[ Parent
| on HN ]
Re:Two examples of hover styles on images
by maskros on Wednesday October 23, 2024 @06:18AM
(#41923578)
The CSS outline property is (was?) unreliable on Safari. Things like the border-radius don't affect the outline shape -- it's always square even if you to to create some Apple-patented rounded rectangles using border-radius.