JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The Official Website of the Whitewater Warriors</title>
<link rel="shortcut icon" href="images/WhitewaterWarriorsLogo - Copy.ico">
<link rel="stylesheet" href="PREVIEW.css">
</head>
<body>
<header>
<img src="images/WhitewaterWarriorsLogo.png" height="150" width="150" alt="Warrior Logo">
<hgroup>
<h1> <span class="shadow">The Official Website of the Whitewater Warriors</span> </h1>
</hgroup>
</header>
<nav id="nav_bar">
<ul>
<li><a href="index.html" class="current"> Home </a></li>
<li><a href="speakers.html"> Speakers </a></li>
<li><a href="luncheons.html"> Luncheons </a></li>
<li><a href="tickets.html"> Tickets </a></li>
<li><a href="about.html"> About Us </a></li>
</ul>
</nav>
<section>
<img src="images/gurley_opbd_main_111115.jpg" alt="Rams Player" width="815px">
<p>
<b>What's new:</b> Running back Todd Gurley missed the first two games of the Rams season and only
played a little bit in Week 3, as the St. Louis coaching staff wanted to be careful with a player who
suffered a devastating knee injury during his college career. Since entering the starting lineup in
Week 4, one could argue Gurley has been the best player in the entire NFL at his position. In the Rams'
first four games the rookie was in the lineup, Gurley averaged 22 carries and 141 rushing yards a contest.
Entering Week 10, Gurley ranks fourth in the NFL in rushing yards and is averaging 5.6 yards per carry – the
most in the league of any player with more than 100 attempts.<br><br>
<b>What's old:</b> It's odd to call a unit whose leader is 25 "old," but in the case of the St. Louis defensive line,
the label fits. Robert Quinn leads that group of Rams, which has a knack for terrorizing quarterbacks. In 2013,
Quinn was second in the NFL with 19 sacks. A year ago, he 'only' had 10.5. This season, he's been bothered by a
knee injury...
CSS
/* So the HTML5 structural tags work in older browsers */
article, aside, figure, footer, header, nav, section {
display: block;
}
/* add reset selector */
*{ margin:0; padding:0;}
html {
background-image: url("images/maxresdefault.png"); background-repeat: no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
/* the styles for the elements */
body {
color: white;
font-family: Arial, Helvetica, sans-serif;
font-size: 87.5%;
width: 815px;
margin:0 auto;
border: 3px solid black;
background-color: #6A287E;
}
/* the styles for the header */
header {
border-bottom: 3px solid white;
padding: 1.5em 0;
background-image: -moz-linear-gradient(30deg,
#6A287E 0%, black 30%, black 50%, black 80%, #6A287E 100%);
background-image: -webkit-linear-gradient(30deg,
#6A287E 0%, black 30%, black 50%, black 80%, #6A287E 100%);
background-image: -o-linear-gradient(30deg,
#6A287E 0%, black 30%, black 50%, black 80%, #6A287E 100%);
background-image: linear-gradient(30deg,
#6A287E 0%, black 30%, black 50%, black 80%, #6A287E 100%);
}
header img {
float: left;
padding:0 20px;
position: relative;
top: -26.5px;
/* margin-top:0; margin-bottom: 2em;*/
}
header h1 {font-size: 20pt;
letter-spacing: -1px;
}
header h1 {color: white;}
header span.shadow {text-shadow: 0 0 15px #6A287E;
}
/*the styles for the navigation bar*/
#nav_bar ul {
list-style: none;
padding: 1.2em;
background-color: black;
border-bottom: 3px solid white;
}
#nav_bar li {
display: inline;
}
#nav_bar a {
padding: 1em 1.5em;
text-decoration: none;
color: white;
text-shadow: 0 0 15px black;
font-weight: bold;
}
/* the styles for the section 1 */
section {
position: relative;
width: 815px;
margin-bottom: 10px;
}
section img {position: relative;
top: -26.5px;
display: block;
margin: 0 auto;
}
section p {padding:...