Blog

Preventing Background Click of Link-Wrapped Images with :has()

17 Aug 2023

Wrapping an <img> with an <a> tag is a simple solution for enlarging images, but comes with the downside of making the space next to the image clickable if you are not careful.

Tags: img image css anchor link ...
Available in: en (US)

Preventing Background Click of Link-Wrapped Images with :has() (en-US)

Wrapping an <img> with an <a> tag is a simple solution for enlarging images, but comes with the downside of making the space next to the image clickable if you are not careful.
Tags: img, image, css, anchor, link, margin, :has()


Hello World!!!

1 Jan 1970

Placeholder article that shows what features the blog has.

Tags: hello world
Available in: en (US)de (DE)

Hello World!!! (en-US)

Placeholder article that shows what features the blog has.
Tags: hello, world

Hallo Welt!!! (de-DE)

Platzhalter Artikel, der zeigt, welche Feautures der Blog hat.
Tags: hallo, welt