Add transparency to img border and span background