JSFiddle - React, Tailwind, and code Playground
by kougiland
HTML
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<div class="container">
<span class="line-1">the</span>
<span class="line-2">Vintage</span>
<span class="line-3">typography experiment</span>
<span class="line-5"><a href="https://github.com/codrops/Arctext">Archtext.js</a><a href="http://codepen.io/zambo/pen/jKEDp/">Codepen.io</a></span>
<span class="line-6">2014</span>
</div>
CSS
@import url(http://fonts.googleapis.com/css?family=PT+Sans:700|Pacifico|Changa+One);
body {
background: white url(http://subtlepatterns.com/patterns/groovepaper.png) repeat;
color: black;
}
.container {
font-family: "Pacifico", cursive;
font-weight: 400;
position: relative;
margin: 80px auto;
width: 600px;
font-size: 30px;
text-align: center;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
opacity: 0.8;
}
span {
display: block;
}
.line-1 {
position: relative;
}
.line-1:before, .line-1:after {
content: "\f005";
font-family: FontAwesome;
position: relative;
font-style: normal;
font-weight: normal;
text-decoration: inherit;
font-size: 16px;
margin: 0 30px;
top: -5px;
}
.line-2 {
font-family: "Changa One", sans-serif;
font-weight: 400;
text-transform: uppercase;
font-size: 90px;
letter-spacing: 15px;
margin: 0 0;
}
.line-3 {
font-family: "PT Sans", sans-serif;
font-weight: 700;
font-size: 16px;
text-transform: uppercase;
margin: 70px 0 0;
position: relative;
letter-spacing: 6px;
}
.line-3:before, .line-3:after {
content: " ";
position: absolute;
width: 50px;
height: 5px;
border-top: 1px solid #222222;
border-bottom: 1px solid #222222;
}
.line-3:before {
margin: 7px 0 0 -60px;
}
.line-3:after {
margin: 7px 0 0 10px;
}
.line-4 {
width: 100%;
position: relative;
font-size: 18px;
margin: 50px 0 0;
}
.line-5 {
margin: 20px 0 50px;
position: relative;
text-align: center;
margin: 50px auto;
display: block;
font-size: 20px;
}
.line-5 a {
text-decoration: none;
display: inline-block;
text-align: left;
color: #222222;
}
.line-5 a:nth-child(1) {
text-align: right;
}
.line-5 a:nth-child(1):after {
content: "\f005 ";
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-decoration: inherit;
position: relative;
font-size: 30px;
text-align: center;
width: 90%;
top: 4px;
margin: 0;
padding: 0...