JSFiddle - React, Tailwind, and code Playground
by Arnold Daniels
HTML
<div class="index"><a href="index.html">HOME</a></div>
<div class="maingroup">
<h1 id="indextitle">RLEESON85</h1>
<div id="stream"><a href="http://www.twitch.tv/rleeson85">WATCH THE STREAM</a></div>
<div id="dice"><a href="dice.html">DICE GAME</a></div>
</div>
CSS
@import url(https://fonts.googleapis.com/css?family=Oswald:400,300,700);
body {
background: #333;
font-family: 'Oswald', sans-serif;
}
footer {
}
.index {
font-size: 33px;
font-style: inherit;
font-weight: inherit;
color: white;
letter-spacing: 3px;
float: left;
margin-left: 30px;
background: transparent;
height: 60px;
width: 140px;
line-height: 60px;
text-align: center;
border-style: solid;
border-width: 2px;
border-radius: 6px;
transition: all 0.3s ease 0s;
}
.maingroup {
position: absolute;
top: 50%;
height: 450px;
margin-top: -225px;
text-align: center;
width: 100%;
}
#indextitle {
font-size: 190px;
font-style: inherit;
font-weight: inherit;
color: white;
letter-spacing: 5px;
margin: 0 25px;
}
#dicetitle {
font-size: 160px;
font-style: inherit;
font-weight: inherit;
color: white;
letter-spacing: 5px;
}
#stream {
font-size: 33px;
font-style: inherit;
font-weight: inherit;
color: white;
letter-spacing: 3px;
background: transparent;
height: 60px;
width: 330px;
line-height: 60px;
text-align: center;
border: 0;
border-style: solid;
border-width: 2px;
border-radius: 6px;
transition: all 0.3s ease 0s;
margin: 0 auto 15px;
}
#dice {
font-size: 33px;
font-style: inherit;
font-weight: inherit;
color: white;
letter-spacing: 3px;
background: transparent;
height: 60px;
width: 200px;
line-height: 60px;
text-align: center;
border: 0;
border-style: solid;
border-width: 2px;
border-radius: 6px;
transition: all 0.3s ease 0s;
margin: 0 auto;
}
.index:hover {
...