Y
Hacker News
new
|
ask
|
show
|
jobs
by
zooi
601 days ago
Use outline instead:
outline: solid 10px red;
Nearly identical to border, but without affecting layout at all.
2 comments
maskros
601 days ago
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.
link
mikae1
601 days ago
Why this over box-shadow?
link