Having trouble with a h1 tag appearing behind my video element. I'm fairly new to programming so please excuse any ignorance on my part.
I attempted to overlay a header on top of a video, but it was unsuccessful. I've also experimented with z-index without success. code | V
<!DOCTYPE html>
<html>
<head>
<body>
<h1 class="skyeHeader">SkyeMrGamez</h1>
</body>
<video autoplay muted loop id="landingImage">
<source src="landingBackground.mp4" type="video/mp4" />
</video>
<style>
.skyeHeader {
text-align: center;
font-family: Arial, Helvetica, sans-serif;
color: #ff0061;
}
#landingImage {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
filter: blur(1.5rem);
}
</style>
</head>
</html>