$("#tegel-lettering p").lettering('words');
<h2 class="tegel-text">Lettering plugin</h2>
<div id="tegel-lettering" class="tegel">
<p class="line1">Mensen zijn niet lastig</p>
<p class="line2">mensen zijn verschillend</p>
<p class="line3">dat is best lastig</p>
</div>
/* tegel 1, palette: naked palette
tegel 2, palette: finalized?
tegel 3, palette: same old? */
h2 {
font-family: 'Droid Serif', serif;
text-align: center;
font-size: 55px;
}
.tegel {
font-family: 'Lato';
text-align: center;
height: 170px;
vertical-align: middle;
border: 1px solid #ccc;
padding: 20px;
box-sizing: border-box;
width: 600px;
margin-left: auto;
margin-right: auto;
}
.tegel-text {
width: 600px;
margin-left: auto;
margin-right: auto;
}
p.tegel-text {
font-size: 18px;
font-family: 'roboto';
font-weight: 300;
line-height:30px;
}
.tegel p {
margin-top: 10px;
font-size: 26px;
}
.weight400 {
font-weight: 400;
}
.weight800 {
font-weight: 800;
}
@media screen and (min-width: 480px) {
.tegel {
height: 210px;
padding: 25px;
}
.tegel p {
font-size: 36px;
}
}
@media screen and (min-width: 768px) {
.tegel {
height: 275px;
padding: 35px;
}
.tegel p {
margin-top: 15px;
font-size: 45px;
}
}
@media screen and (min-width: 960px) {
.tegel {
height: 350px;
padding: 50px;
}
.tegel p {
margin-top: 25px;
font-size: 55px;
}
}
/* ================================= Lettering ================================ */
/* === colors: http://www.colourlovers.com/palette/3841657/Dying_Poinsettia === */
#tegel-lettering {
background-color: #C0985F;
border: 5px solid #590202;
width: 600px;
height: 350px;
padding: 44px 35px;
}
#tegel-lettering p {
font-size: 16px;
color: #fff;
}
/* Line 1 */
p.line1 {
background: #133706;
width: 150px;
height: 136px;
margin: 0;
display: inline-block;
float: left;
box-shadow: 2px 2px 10px #133706;
}
p.line1 .word1 {
font-size: 44px;
}
p.line1 .word2, p.line1 .word3 {
font-size: 30px;
position: relative;
top: -11px;
}
p.line1 .word2 {
left: -21px;
}
p.line1 .word3 {
left: 21px;
}
p.line1 .word4 {
font-size: 60px;
position: relative;
top: -22px;
letter-spacing: 2.0px;
}
/* Line 2 */
p.line2 {
background: #61b971;
box-shadow: 2px 2px 10px #61b971;
width: 150px;
height: 116px;
display: inline-block;
float: left;
margin-left: 35px;
margin-top: 68px;
}
p.line2 .word1 {
font-size: 44px;
position: relative;
top: -4px;
}
p.line2 .word2 {
font-size: 30px;
position: relative;
top: -8px;
}
p.line2 .word3 {
font-size: 27px;
position: relative;
top: -7px;
}
/* Line 3 */
p.line3 {
background: #0aa21e;
box-shadow: 2px 2px 10px #0aa21e;
width: 150px;
height: 116px;
display: inline-block;
float: left;
margin-left: 35px;
margin-top: 136px;
}
p.line3 .word1, p.line3 .word2 {
font-size: 36px;
position: relative;
top: 0px;
}
p.line3 .word1 {
left:-30px;
}
p.line3 .word2 {
left:30px;
}
p.line3 .word3 {
font-size: 40px;
position: relative;
top: -8px;
display: block;
}
p.line3 .word4 {
font-size: 38px;
position: relative;
top: -15px;
text-transform: uppercase;
}
External resources loaded into this fiddle: