Created
October 4, 2016 08:22
-
-
Save kimhogeling/873c0c98244f4da4b6caa7ac75675937 to your computer and use it in GitHub Desktop.
Gutschein für HvO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<link type="text/css" rel="stylesheet" href="http://fast.fonts.net/cssapi/9ae37901-3db6-48c8-bf48-09b254ecc518.css"> | |
</head> | |
<body> | |
<style> | |
tshirts { | |
background: #000; | |
margin: 78px; | |
outline: 50px solid #fff176; | |
display: block; | |
overflow: hidden; | |
} | |
hvo { | |
background: url('hvo.png'); | |
width: 380px; | |
height: 354px; | |
display: inline-block; | |
border-radius: 50%; | |
overflow: hidden; | |
margin: -20px; | |
} | |
hvo img { | |
margin: 250px 0 0 140px; | |
width: 130px; | |
height: 104px; | |
} | |
h1, h2 { | |
color: #fff176; | |
text-shadow: 5px 5px 15px #000; | |
position: absolute; | |
text-align: center; | |
width: 100%; | |
font-family: 'Neo Tech W01'; | |
} | |
h1 { | |
font-size: 400px; | |
transform: rotate(3deg); | |
top: 0; | |
line-height: 200px; | |
} | |
h2 { | |
font-size: 223px; | |
transform: rotate(-7deg); | |
top: 546px; | |
width: 80%; | |
margin-left: 8%; | |
} | |
</style> | |
<tshirts></tshirts> | |
<h1>ALLES GUTE!</h1> | |
<h2>GUTSCHEIN FÜR EIN T-SHIRT FOR FREE</h2> | |
<script> | |
const logos = ["http://www.euroblast.net/files/xii/dark-orbit-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/aliases-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/ambersea-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/anima-tempo-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/animals-as-leaders-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/born-of-osiris-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/carcer-city-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/clawerfield-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/dead-letter-circus-live-2016-euroblast.jpg", | |
"http://www.euroblast.net/files/xii/disperse-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/enslaved-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/exist-immortal-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/ghost-iris-live-2016-euroblast.jpg", | |
"http://www.euroblast.net/files/xii/grim-van-doom-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/heart-of-a-coward-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/humanitys-last-breath-live-2016-euroblast.jpg", | |
"http://www.euroblast.net/files/xii/intronaut-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/invivo-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/jin-jer-live-2016-euroblast.jpg", | |
"http://www.euroblast.net/files/xii/masuria-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/port-noir-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/shining-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/skyharbor-live-2016-euroblast.jpg", | |
"http://www.euroblast.net/files/xii/soon-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/strains-live-2016.jpg", | |
"http://www.euroblast.net/files/xii/verderver-live-2016.jpg", | |
"http://www.euroblast.net/files/vola.jpg", | |
"http://www.euroblast.net/files/xii/volumes-live-2016-euroblast.jpg"] | |
document.querySelector('tshirts').innerHTML = | |
logos | |
.map(img => `<hvo style="transform:rotate(${Math.random() > 0.5 ? '-' : '' }${Math.random() * 180}deg)"><img src=${img}></hvo>`) | |
.join('') | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment