JSFiddle - React, Tailwind, and code Playground
HTML
<!-- multistep form -->
<form id="msform">
<!-- progressbar -->
<ul id="progressbar">
<li class="active">new Activity</li>
<li>Activity Profile</li>
<li>Activity Details</li>
</ul>
<!-- fieldsets -->
<fieldset>
<h2 class="fs-title">Create new activity</h2>
<h4 class="fs-subtitle">Describe</h4>
<input type="text" name="email" placeholder="Title" />
<textarea name="description" placeholder="Description"></textarea>
<input type="button" name="next" class="next action-button" value="Next" />
</fieldset>
<fieldset>
<h2 class="fs-title">Activity Profile</h2>
<h4 class="fs-subtitle">When? Where? How?</h4>
<input type="datetime-local" name="date" placeholder="date" />
<input type="text" name="location" placeholder="Location" />
<input type="button" name="previous" class="previous action-button" value="Previous" />
<input type="button" name="next" class="next action-button" value="Next" />
</fieldset>
<fieldset>
<h2 class="fs-title">Activity Details</h2>
<h4 class="fs-subtitle">Just some details</h4>
<input type="text" name="participants" placeholder="Participants" />
<input type="text" name="tag" placeholder="Tags" />
<input type="button" name="previous" class="previous action-button" value="Previous" />
<input type="submit" name="submit" class="submit action-button" value="Submit" />
</fieldset>
</form>
CSS
/* ---------- BODY ---------- */
html, body, #body {
background-color: #ffffff;
font-size: 15px;
color: #565656;
width: 100%;
padding: 0;
margin-left: 0;
margin-right: 0;
font-family: 'roboto', sans-serif;
font-weight: 300;
}
body, #body {
font-family: Lato, sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: rgba(51, 51, 51, 0.45);
background-color: #fff;
margin: 0px;
background-size: cover
}
html {
font-size: 10px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
transition: all 3s ease-in-out;
height: 100%;
min-height: 100%;
}
*,*:before,*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
h1 {
color: #fff;
font-size: 38px;
line-height: 44px;
margin-bottom: 30px;
text-shadow: none;
text-shadow: 0.5px 0.5px #000000;
}
h3 {
font-size: 18px;
font-weight: normal;
letter-spacing: 1px;
color: #fff;
line-height: 25px;
text-shadow: 0.5px 0.5px #000000;
}
h4 {
font-size: 18px;
font-weight: normal;
letter-spacing: 1px;
line-height: 25px;
}
#app-front {
background-color: #ffffff;
font-size: 15px;
color: #565656;
width: 100%;
padding: 0;
font-weight: 300;
font-family: Lato, sans-serif;
line-height: 1.42857143;
color: rgba(51, 51, 51, 0.45);
margin: 0;
}
.row {
margin-right: -15px;
margin-left: -15px;
}
.nav>li {
display: block;
color: #56fec6;
}
.container {
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
.home-text {
float: left;
position: absolute;
display: block;
width: 520px;
color: white;
font-size: 38px;
}
.home-container {
position: absolute;
left: 50%;
margin: 0px 0 0 -418px;
top: 30%;
width: 838px;
height: 410px;
}
.home-count {
float: right;
top: 70px;
position: relative;
color: #62e5be;
width: 300px;
padding: 10px;
text-align: center;
border: 1px solid...