svg

box-shadow: 0 0.5px 0 #000

linear-gradient(0deg, #fff, #000)

1px + scaleY(0.5)

0.5px

1px