Clip path not showing on published page

Hi,

I made a clip path on my h2 with some images, but they won’t show at my published website. You guys have an idea why this isn’t working?

h2 {
  text-align: center;
  font-size: 17vw;
  height: 30vw;
  margin-left: auto;
  margin-right: auto;
  margin-top: 70px;
  font-weight: 700;
  background: url(try.jpg) no-repeat center center;
  background-size: cover;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;

Thanks.

Hi @vincevanroy,

Would you be able to share a link to your repository? It would be easier to troubleshoot this problem if we can see the code in context.

Thanks!

Hi that-pat,

Here is the link. https://github.com/VinceVanRoy/Portfolio

Thanks!

Hi @vincevanroy,

Looking at your site, I see that it’s getting a couple of 404 errors for prof.jpg and try.jpg. In your repository, however, these files are prof.JPG and try.JPG. I would recommend renaming these files to have lowercase extentions.

Thanks!