JSFiddle - React, Tailwind, and code Playground
by Gaelle
HTML
<!DOCTYPE html>
<link href='https://fonts.googleapis.com/css?family=Ultra' rel='stylesheet' type='text/css'>
<body>
<header>
<h1>Wild Circus</h1>
<h2>Immerse yourself in a world beyond imagination!</h2>
<nav>
<ul>
<li><a href="#Presentation">Presentation</a></li>
<li><a href="#Rabbit">Rabbit</a></li>
<li><a href="#Clown9">Clown 9</a></li>
<li><a href="#StrongArm">Strong Arm</a></li>
<li><a href="#TheSkyWalker">The Sky Walker</a></li>
<li><a href="#OnTour">On Tour</a></li>
</ul>
</nav>
</header>
<section>
<article id="introduction">
<p class="act">
Wild circus is proud to present its new show: <strong>Wild Imagination</strong>.<br />
Enter the temple of the circus and be amazed by the power of imagination!<br />
What if you could alter reality at will?<br />
Our artists really want to transport you in a moment of excellence and show you that they
have no limit.<br />
This performance will be an opportunity for you to share moments of happiness with both
friends and family.
</p>
</article>
<article class="left">
<p id="Rabbit" class="act"><img src="http://i.imgur.com/uxFOjNN.png" class="floatingleft" alt="Topsy the Rabbit" />
Topsy the Rabbit<br />
<small>Do you think rabbits live in magician's top hats?<br />
Not in our world. Topsy likes magic, the Wild Magic. He can pull a lot of things out of one's hat!</small>
</p>
</article>
<article class="right">
<p id="Clown9" class="act"><img src="http://i.imgur.com/lFsIFSp.png" class="floatingright" alt="Clown 9" />
Clown 9<br />
<small>She takes everything with humor and transforms the everyday life into an
offbeat adventure. Discover her colorful world!</small>
</p>
</article>
<article class="left">
<p id="StrongArm"...
CSS
@font-face {
font-family: 'Ultra';
src: url(https://fonts.googleapis.com/css?family=Ultra);
}
body {
font-family: helvetica, sans-serif;
margin: 0 auto;
max-width: 70%;
background: url("http://www.scottishrugby.org/sites/default/files/hero-images/xqe7-xjv.jpeg");
background-size: cover;
background-attachment: fixed;
background-position: center;
}
h1 {
font-family: 'Ultra', cursive, 'Arial Black', sans-serif;
font-size: 75px;
color: #B0301C;
text-align: center;
margin: 60px 0 0 0;
border-radius: 8px;
border: 8px #B0301C solid;
text-shadow: 6px 6px 6px black;
background-image: url("http://i.imgur.com/sztAtB5.png");
}
h2 {
color: #BD6557;
text-align: center;
margin: 15px 0 60px 0;
border-radius: 8px;
border: 5px #BD6557 solid;
text-shadow: 6px 6px 6px black;
background-color: #002A42;
}
nav ul {
background-color: #002a42;
margin-top: -10px;
box-shadow: 6px 6px 6px black;
}
ul {
list-style-type: none;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
border-radius: 8px;
}
li {
padding: 3px 25px 3px 0;
text-shadow: 6px 6px 6px black;
}
a {
color: #e2bc75;
text-decoration: none;
}
a:hover {
color: #B0301C;
border-bottom: 3px solid #760001;
}
section {
margin-top: 150px;
}
.act {
color: rgba(255, 255, 255, 1);
background: rgba(230, 168, 84, 1);
padding: 10px;
line-height: 25px;
text-align: justify;
border-radius: 8px;
overflow: auto;
box-shadow: 6px 6px 6px black;
}
.nolinereturn {
display: flex;
flex-wrap: nowrap;
}
article {
margin-bottom: 200px;
border-radius: 8px;
}
.floatingleft {
float: left;
margin: 0 10px 0 0;
}
.floatingright {
float: right;
margin: 0 0 0 10px;
}
img {
border-radius: 8px;
border: 5px #FFFFFF solid;
}
footer {
display: flex;
background-image: url("http://i.imgur.com/sztAtB5.png");
margin-bottom: 10px;
border-radius: 8px;
box-shadow: 6px 6px 6px black;
}
footer p {
font-family:...