JSFiddle - React, Tailwind, and code Playground
by mattography
HTML
<div class="notification-content">
<div class="v-align-parent">
<div class="v-center text-center">
<div class="container">
<h1>Not available on your platform...yet</h1>
<p>Add your email and we'll keep you updated.</p>
<br>
<form method="post" id="other-platform" action="http://a155e09a56.reuters.tv/s/not_available_and_newsletter_optins">
<div class="btn-append">
<input type="email" class="text email" name="email" placeholder="Email" required="">
<input type="submit" class="submit appended" value="Submit">
<!--REDIRECT USERS AFTER SIGNUP TO THANK YOU PAGE-->
</form>
</div>
</div>
</div>
</div>
CSS
@import url("font.css");
@import url("normalize.css");
@import url("grid.css");
@import url("modal.css");
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, body {
height: 100%;
}
html {
font-size: 16px;
}
@media (min-width: 768px) {
html {
font-size: 18px;
}
}
@media (min-width: 1200px) {
html {
font-size: 20px;
}
}
@media (min-width: 1350px) {
html {
font-size: 22px;
}
}
body, input, select, button {
font-family:"Knowledge", "Helvetica Neue", sans-serif;
font-size: 22px;
font-size: 1rem;
line-height: 1.36;
color: #86888b;
letter-spacing: -0.035em;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
margin: 0;
color: #2a2a2a;
}
h1, .h1, h2, .h2 {
}
h1, .h1 {
font-weight: 700;
text-transform: uppercase;
font: 300 54px/1.2"Knowledge", "Helvetica Neue", sans-serif;
text-transform: none;
letter-spacing: 0;
font-size: 2.455rem;
}
h2, .h2 {
font-weight: 300;
}
h1, .h1, h2, .h2 {
font-size: 44px;
font-size: 1.5rem;
letter-spacing: 0;
line-height: 1;
}
@media (min-width: 768px) {
h1, .h1 {
font-size: 72px;
font-size: 2.3rem;
line-height: 0.8334;
}
}
h1.scaled {
font-size: 28px;
line-height: 1;
}
@media (min-width: 480px) {
h1.scaled {
font-size: 48px;
font-size: 2.182rem;
}
}
@media (min-width: 768px) {
h2, .h2 {
font-weight: 300;
font-size: 54px;
font-size: 2.455rem;
line-height: 1;
}
}
h3, .h3, h4, .h4 {
text-transform: uppercase;
font-size: 22px;
font-size: 1rem;
font-weight: 700;
line-height: 1.09;
letter-spacing: inherit;
}
h4, .h4 {
font-size: 14px;
}
@media (min-width: 768px) {
h3, .h3 {
font-size: 18px;
font-size: 0.818rem;
}
h4, .h4 {
font-size: 16px;
}
}
p {
margin: 0;
}
ul {
...