JSFiddle - React, Tailwind, and code Playground
by mmarcon
HTML
<section id="box">
<h1>Alberto Barbaresco</h1>
<h2>photography alive</h2>
<img src="http://dl.dropbox.com/u/234787/fonts/500.jpg"/>
<p>© Alberto Barbaresco - Via G. Verdi 15 31010 Orsago, TV, Italy</p>
</section>
CSS
@font-face {
font-family: 'LM';
src: url('http://dl.dropbox.com/u/234787/fonts/lm-webfont.eot');
src: url('http://dl.dropbox.com/u/234787/fonts/lm-webfont.eot?#iefix') format('embedded-opentype'),
url('http://dl.dropbox.com/u/234787/fonts/lm-webfont.woff') format('woff'),
url('http://dl.dropbox.com/u/234787/fonts/lm-webfont.ttf') format('truetype'),
url('http://dl.dropbox.com/u/234787/fonts/lm-webfont.svg#LyricsMovementRegular') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background-color: #222;
font-family: Helvetica, Arial, sans-serif;
/*background-image: url(http://dl.dropbox.com/u/234787/fonts/t.jpg);*/
}
#box {
width: 500px;
height: 465px;
margin: -232px auto auto -250px;
position: absolute;
top: 50%;
left: 50%;
}
#box img {
margin: 20px auto;
display: block;
border: 1px solid #111;
}
h1 {
font-family: 'LM', Helvetica, Arial, sans-serif;
font-size: 48px;
line-height: 1.2;
color: #fff;
}
h2 {
font-weight: 100;
font-size: 16px;
line-height: 1.2;
color: #999;
}
p {
color: #666;
line-height: 1;
text-align: center;
font-weight: 100;
font-size: 12px;
}