タグ

ブックマーク / franklinta.com (1)

  • Image diffing using CSS

    Since the last post on CSS was popular here is another simple CSS trick that I found useful in the past. Let’s say we want to find the difference between these two images: You can do this by simply inverting the colors and then stacking them together at 50% opacity. This can be achieved with a single CSS filter: -webkit-filter: invert(100%) opacity(50%); What you should get back is a gray image ex

    koemu
    koemu 2015/10/06
    CSSで画像の差分比較。サイトのスクショ等から体裁崩れの発見とかで使えそう。
  • 1