JSFiddle - React, Tailwind, and code Playground
HTML
<!doctype html>
<html>
<html lang="da">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>XXXXXX</title>
<meta name="description" content="UDLÆRT MEDIEGRAFIKER ANNO NOVEMBER 16">
<meta name="keywords" content="mediegrafiker, uddannelse, portfolio, svendeprøve, grafisk design">
<meta name="viewport" content="initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="main.css">
<link href="https://fonts.googleapis.com/css?family=Oswald:400" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
</head>
<body>
<div id="left"></div>
<div id="right"></div>
<div id="top"></div>
<div id="bottom"></div>
<h1><a href="index.html">TEST SIDE</a></h1>
<h2>DETTE ER EN TEST</h2>
<video playsinline autoplay muted loop poster="files/placeholder.jpg" id="bgvid">
<source src="images/webmovie.mov" type="video/webm">
<source src="images/webmovie.mov" type="video/mp4">
</video>
<div class="footer"><p><a href="https://www.facebook.com/philipcreamer19" target="_blank">FACEBOOK</a> / <a href="https://www.instagram.com/philip.creamer/" target="_blank">INSTAGRAM</a> / <a href="https://www.behance.net/philipcreamer" target="_blank">BEHANCE</a></p></div>
</body>
</html>
CSS
@charset "UTF-8";
/* CSS Document */
body {
width: 100%;
height: auto;
min-height: 100% !important;
}
* {
margin: 0;
padding: 0;
}
h1 {
font-family: 'Oswald', sans-serif;
font-size: 1em;
letter-spacing: 1px;
padding-top: 50px;
color: white;
text-decoration: none;
text-align: left;
padding-left: 5.3%;
}
h2 {
font-family: 'Oswald', sans-serif;
font-size: 1.2em;
text-align: center;
line-height: 50px;
padding-top: 120px;
letter-spacing: 1px;
color: white;
}
h3 {
font-family: 'Oswald', sans-serif;
font-size: 1em;
text-align: center;
line-height: 50px;
padding-top: 20px;
letter-spacing: 1px;
color: white;
}
#top, #bottom, #left, #right {
background: white;
position: fixed;
}
#left, #right {
top: 0px; bottom: 0px;
width: 13px;
}
#left { left: 0px; }
#right { right: 0px; }
#top, #bottom {
left: 0px; right: 0px;
height: 13px;
}
#top { top: 0px; }
#bottom { bottom: 0px;
}
a {
color: white;
text-decoration: none;
}
p {
font-family: 'Oswald', sans-serif;
font-size: 0.60em;
word-spacing: 8px;
padding-top: 2px;
letter-spacing: 1px;
color: white;
text-align: center;
}
video#bgvid {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
-ms-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
.footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 2.2em;
text-align: center;
}
a:hover {
color: orange;
}
/* Media Queries */
@media(max-width: 768px){
h2 {
font-family: 'Oswald', sans-serif;
font-size: 2em;
line-height: 50px;
padding-top: 180px;
letter-spacing: 1px;
color: white;
}
.footer {
position: absolute;
right: 0;
...