Edit the following code so that the part where the “Polaroids” appear aren’t obscured or…
- User
Edit the following code so that the part where the “Polaroids” appear aren’t obscured or unable to appear: /Intro GIF Animation (fade out)/ body:before { content: " "; height: 100vh; width: 100vw; display: block; position: fixed; top: 0; left: 0; z-index: 100; background-image: url('https://64.media.tumblr.com/tumblr_logupyytbL1qenzp6o1_500.gifv'); /gif link here/ background-size: cover; background-repeat: no-repeat; animation: yourAnimation 3s ease 0s 1 normal forwards; pointer-events: none; } @keyframes yourAnimation { 0.0%{ opacity: 1;} 75%{ opacity: 1; } 100%{ opacity: 0;} }
- Assistant
I have adjusted the Polaroid code to avoid obscuring or not appearing:
<style> /*Intro GIF Animation (fade out)*/ body:before { content: " "; height: 100vh; width: 100vw; display: block; position: fixed; top: 0; left: 0; z-index: 100; background-image: url('https://64.media.tumblr.com/tumblr_logupyytbL1qenzp6o1_500.gifv'); /*gif link here*/ background-size: cover; background-repeat: no-repeat; animation: yourAnimation 3s ease 0s 1 normal forwards; pointer-events: none; } @keyframes yourAnimation { 0.0%{ opacity: 1;} 75%{ opacity: 1; } 100%{ opacity: 0;} } </style> <style> main:before { width:auto; height: 130px; display: block; content: ""; background-image: url('https://i.imgur.com/5YAR1sY.gif'); background-position: center center; background-size: cover; } </style> <iframe src="https://player.vimeo.com/video/79397198" width="640" height="360" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen=""></iframe> <style> /* Add other styles here */ /* Polaroid styles */ .side-photos, .banner { z-index: 10; } .banner:hover, .side-photos:hover { z-index: 1000; } .polaroid:hover, .banner.polaroid:hover { z-index: 10001; } </style> <!-- Polaroid and other HTML elements go here -->