bttf logo
by John Doe
HTML
<div class="flex-container">
<div class="container">
<div class="bttf-text large blue-border">
<div class="under">
<span>BACK< </span><br/>
<span>&future</span>
</div>
<div class="over">
<span>BACK< </span><br/>
<span>&future</span>
</div>
</div>
</div>
</div>
CSS
body {
background: #000;
}
@font-face {
font-family: BTTF;
src: url('https://code.garron.us/css/BTTF_logo/BTTF.ttf') format("truetype");
}
.flex-container {
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.container {
width: 30em;
height: 15em;
-webkit-perspective: 500;
-moz-transform: rotate(-10deg) skew(-18deg, 0deg);
}
.container > div {
overflow: visible;
-webkit-transform: rotateY(15deg);
}
.blue-border {
-webkit-text-stroke-color: #00F;
-webkit-text-stroke-width: 1px;
text-shadow: 0 0 5px #00F;
}
.blue-border-thin {
-webkit-text-stroke-color: 00F;
-webkit-text-stroke-width: 0.5px;
text-shadow: 0 0 1px #00F;
}
.bttf-text {
font-family: BTTF;
line-height: 100%;
font-size: 100px;
}
.over > :first-child {
color: #F00;
-webkit-mask-image: -webkit-gradient(linear, left top,
left bottom, from(rgba(1,0,1,1)), to(rgba(0,1,0,0)));
}
.over > :last-child {
color: #F00;
-webkit-mask-image: -webkit-gradient(linear, left top,
left bottom, from(rgba(1,0,1,0)), to(rgba(0,1,0,1)));
}
.under, .over {
position: absolute;
left: 0px;
top: 0px;
}