top | item 41923175

(no title)

zooi | 1 year ago

Use outline instead:

  outline: solid 10px red;
Nearly identical to border, but without affecting layout at all.

discuss

order

maskros|1 year 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.

mikae1|1 year ago

Why this over box-shadow?