The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Transparent logo on opaque background using clip-path

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #237720

    I’m trying to create this look:

    I’ve got this working so far:

    The goal is to have that logo in a container that matches the rest of the page’s content and the transparent portion mimic the full background image. The issue is that using clip-path basically clips at the top left corner of the img / div. I could move everything over into the container but then the context of the background image would be the size of the container, not the full width of the page.

    I’m not sure if using clip-path is the right way of going about this. I wish I could just create the rectangular logo div and a svg sitting within it that’s transparent and would knock out what’s behind it exposing the background image but obviously that doesn’t work since it just reveals the opaque div behind it.

    Any help about how to think about this would be appreciated!

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.