Bitmap as a hyperlink

Out of context: Reply #4

  • Started
  • Last post
  • 6 Responses
  • monNom0

    ^ as I look into it, the above might require the image to be made into an svg pattern so the element can become a clipping mask.

    alternatively: css "clip-path" might help
    https://bennettfeely.com/clippy/…

    and from the way-way-back machine: use plain old HTML image maps to set up your hover-targets as polygons rather than bounding boxes, then have them offset the background in css on hover. I recall doing this long ago with a sort of film-strip of hover states in one image, and that all sitting behind a transparent gif with the imagemap attached to it.
    the gif would effectively clip the filmstrip to only show the frame you selected with hover.

    • I used to do this with Fireworks all the time. I'll check the clip-pathBeeswax

View thread