Launch Countdown
There are 2 different versions of the Launch Countdown (black or white). White should only be used on dark backgrounds.
Next Launch
5d 5h 5m 5s
Next Launch
5d 5h 5m 5s
<div class="launch-countdown">
<h2 class="h2 launch-countdown__label">Next Launch</h2>
<p class="launch-countdown__timer">5d 5h 5m 5s</p>
</div>
<div class="launch-countdown">
<h2 class="h2 launch-countdown__label launch-countdown__label--white">Next Launch</h2>
<p class="launch-countdown__timer launch-countdown__timer--white">5d 5h 5m 5s</p>
</div>
Notes
If you want the white version just add a --white to the timer and label classes
SCSS
.launch-countdown {
text-align: center;
&__label {
font-family: $objectivity;
font-size: em(24);
margin: 0;
display: inline-block;
position: relative;
&:after {
content: '';
position: absolute;
background: $font-color;
width: 100%;
height: 4px;
left: 0;
bottom: 4px;
}
&--white {
color: #fff;
&:after {
background: #fff;
}
}
}
&__timer {
font-weight: 300;
font-size: em(18);
margin: 0;
&--white {
color: #fff;
}
}
}