HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<html>
<!-- ==============================================
* Name: Mobify Landing Page
* Author: Alejandro Finy // 3E Studio
* Framework Version: 1.0
* Marketo Template Version: 2.0
=============================================== -->
<head>
<!-- ==============================================
TITLE AND BASIC META TAGS
=============================================== -->
<title>Untitled Document</title>
<meta charset="UTF-8">
<meta name="robots" content="index, nofollow" />
<!-- MOBIFY Social Metadata -->
<meta property="og:type" content="article">
<meta property="og:title" content="The Mobile Solution Checklist">
<meta name="twitter:title" content="The Mobile Solution Checklist">
<meta property="og:url" content="http://resources.mobify.com/mobile-solution-checklist.html">
<meta name="twitter:description" content="In this workbook, you will find the key criteria you’ll need to choose the right mobile shopping solution for your business. ">
<meta property="og:description" content="In this workbook, you will find the key criteria you’ll need to choose the right mobile shopping solution for your business. ">
<meta property="og:image" content="http://www.mobify.com/static/i/thumb/default-social-thumbnail.png">
<meta name="twitter:image:src" content="http://www.mobify.com/static/i/thumb/default-social-thumbnail.png">
<!-- ==============================================
MOBILE METAS
=============================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<!-- ==============================================
CSS
=============================================== -->
<link rel="stylesheet" href="css/style.css" media="all">
<link rel="stylesheet" href="css/normalize.css" media="all">
<link rel="stylesheet" href="css/font-awesome.min.css" media="all">
<!-- Marketo CSS // Do not remove -->
<link rel="stylesheet" type="text/css" media="screen" href="/css/mktLPSupport.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]-->
<!-- ==============================================
ADOBE TYPEKIT SCRIPTS - FONTS
=============================================== -->
<script type="text/javascript" src="//use.typekit.net/meb2ipm.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<!-- ==============================================
FAVICONS
=============================================== -->
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
<!-- ==============================================
JS
=============================================== -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/modernizr.js"></script>
<!--<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>-->
<!-- ==============================================
MARKETO JS - Do not edit
=============================================== -->
<script type="text/javascript" src="//b2c-mlm.marketo.com/jsloader/dbe9219c-17a4-45a4-bf6a-4895d350b141/loader.php.js"></script>
<script type="text/javascript" src="/js/mktFormSupport.js"></script>
<script type="text/javascript">
var formEdit = false;
var socialSignOn = {
isEnabled: false,
enabledNetworks: [''],
cfId: '',
codeSnippet: ''
};
</script>
<script type="text/javascript">
var profiling = {
isEnabled: false,
numberOfProfilingFields: 3,
alwaysShowFields: [ 'mktDummyEntry']
};
var mktFormLanguage = 'English'
</script>
<!-- ==============================================
MARKETO SYS JS - Do not edit
=============================================== -->
<script type="text/javascript">
function fieldValidate(field) {
/* call Mkto.setError(field, message) and return false to mark a field value invalid */
/* return 'skip' to bypass the built-in validations */
return true;
}
function getRequiredFieldMessage(domElement, label) {
return "This field is required";
}
function getTelephoneInvalidMessage(domElement, label) {
return "Please enter a valid telephone number";
}
function getEmailInvalidMessage(domElement, label) {
return "Please enter a valid email address";
}
</script>
<!-- ==============================================
GOOGLE ANALYTICS
=============================================== -->
<!-- <script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-993328-16', 'mobify.com');ga('send', 'pageview');</script><script>setTimeout(function(){var a=document.createElement("script");var b=document.getElementsByTagName('script')[0];a.src=document.location.protocol+"//dnn506yrbagrg.cloudfront.net/pages/scripts/0011/2967.js?"+Math.floor(new Date().getTime()/3600000);a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1);</script><script type="text/javascript">adroll_adv_id="VFHRC3GN2RC5HLRKBQNRZ6";adroll_pix_id="62DLVRJU4ZGBPNEUJI2VE3";(function (){var oldonload=window.onload;window.onload=function(){__adroll_loaded=true;var scr=document.createElement("script");var host=(("https:"==document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");scr.setAttribute('async', 'true');scr.type="text/javascript";scr.src=host + "/j/roundtrip.js";((document.getElementsByTagName('head') || [null])[0] || document.getElementsByTagName('script')[0].parentNode).appendChild(scr);if(oldonload){oldonload()}};}());</script><script src="//cdn.optimizely.com/js/536712658.js"></script><script src="//cdn.captora.com/js/mobify/tracker_mobify.js"></script> -->
<!-- ==============================================
HEAD TOKEN SECTION - Do not edit / ACTIVATE BEFORE MARKETO UPLOAD
=============================================== -->
<!-- {{my.universalHeadJS}}
{{my.universalHeadCSS}} -->
<!-- ==============================================
HEAD PHP ELEMENTS - Do not edit
=============================================== -->
<?php echo $mContext['headElements']; ?>
</head>
<!-- Add this PHP line inside the body element after the class / ACTIVATE BEFORE MARKETO UPLOAD -->
<!-- <?php echo $mContext['bodyAttributes'] ?> -->
<body id="bodyId" class="mktEditable">
<!-- ==============================================
GOOGLE TAG MANAGER
=============================================== -->
<!-- End Google Tag Manager -->
<div class="wrapper">
<!-- ==============================================
Header
=============================================== -->
<header class="header"><img class="logo" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/189260/logo.png" alt="Mobify"/></header>
<!-- ==============================================
Banner
=============================================== -->
<section class="banner">
<div class="banner-container">
<div class="banner-a"><h1><em>SHOPPING <br>HAPPENS<br>HERE</em></h1></div>
<div class="banner-b"><h2>Find Us at eTail <br>East August 10-13</h2>
<h3>Boston Sheraton, Booth #331</h3>
</div>
</div>
</section>
<div class="wrapper-contents"><!-- WRAPPER CONTENTS --------------------------------- -->
<!-- ==============================================
Banner
=============================================== -->
<section class="form-container">
<div class="top-form">
<div class="form_description">
<h4>Register now for your complimentary 30 minute mobile strategy session:</h4>
</div>
<div class="marketo-container">
<!-- This is a sample of Marketo Form / Starts -------------------------------------------------------------------- -->
<div class="posOverride">
<form id="mktoForm_1125" class="mktoForm mktoHasWidth mktoLayoutLeft mktoNoCheckedSupport" method="post" action="">
<!-- FIRST NAME --------------------------------- -->
<div class="mktoFormRow">
<div class="mktoFieldDescriptor mktoFormCol">
<div class="mktoFieldWrap mktoRequiredField">
<label class="mktoHasWidth" for="FirstName"> First name </label>
<input id="FirstName" class="mktoField mktoTextField mktoHasWidth mktoRequired" type="text" name="FirstName" maxlength="255" title="" style="width: 239px;">
</div>
</div>
</div>
<div>
<!-- LAST NAME --------------------------------- -->
<div class="mktoFormRow">
<div class="mktoFieldDescriptor mktoFormCol">
<div class="mktoFieldWrap mktoRequiredField">
<label class="mktoHasWidth" for="LastName"> Last name </label>
<input id="LastName" class="mktoField mktoTextField mktoHasWidth mktoRequired" type="text" name="LastName" maxlength="255" title="" style="width: 239px;">
</div>
</div>
</div>
<!-- EMAIL --------------------------------- -->
<div class="mktoFormRow">
<div class="mktoFieldDescriptor mktoFormCol">
<div class="mktoFieldWrap mktoRequiredField">
<label class="mktoHasWidth" for="Email"> Work email address </label>
<input id="Email" class="mktoField mktoEmailField mktoHasWidth mktoRequired" type="text" name="Email" maxlength="255" title="" style="width: 239px;">
</div>
</div>
</div>
<!-- COMPANY NAME --------------------------------- -->
<div class="mktoFormRow">
<div class="mktoFieldDescriptor mktoFormCol">
<div class="mktoFieldWrap mktoRequiredField">
<label class="mktoHasWidth" for="Company"> Company name </label>
<input id="Company" class="mktoField mktoTextField mktoHasWidth mktoRequired" type="text" name="Company" maxlength="255" title="" style="width: 239px;">
</div>
</div>
</div>
<!-- DROPDOWN BOX --------------------------------- -->
<div class="mktoFormRow">
<div class="mktoFieldDescriptor mktoFormCol">
<div class="mktoFieldWrap mktoRequiredField">
<label class="mktoHasWidth" for="Phone"> Direct phone number </label>
<input id="Phone" class="mktoField mktoTextField mktoHasWidth mktoRequired" type="text" name="Company" maxlength="255" title="" style="width: 239px;">
</div>
</div>
</div>
<div class="mktoButtonRow">
<br>
<span class="mktoButtonWrap mktoNative" style="margin-left: 110px;">
<button class="mktoButton" type="submit">BOOK A FREE STRATEGY SESSION NOW</button>
</span>
</div>
</form>
</div>
<!-- This is a sample of Marketo Form / Ends -------------------------------------------------------------------- -->
</div><!--Close Marketo Container -->
</div><!--Close Top Form -->
</section>
<!-- ==============================================
Contents
=============================================== -->
<div class="contents">
<article class="contents-text">
<!-- Extra Contents Goes Here -->
</article>
</div><!-- Content Div Closes -->
<!-- ==============================================
Client Logos Slider
=============================================== -->
<article class="clients">
<section class="rotator">
<!-- Banner Slider------------ -->
<section id="banners">
<div class="banner one">
<div class="image"></div>
</div>
<div class="banner two">
<div class="image"></div>
</div>
<div class="banner three">
<div class="image"></div>
</div>
</section>
<!-- Banner Slider------------ -->
</section>
</article>
</div><!-- WRAPPER CONTENTS --------------------------------- -->
<!-- ==============================================
Footer
=============================================== -->
<footer class="footer">
<section class="footer-contents">
<div class="footer-a"><img class="footer-logo" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/189260/logo.png" alt="Mobify"/></div>
<div class="footer-b">Copyright © 2015. All rights reserved. <a href="#" target="_self">Terms of Use</a>.</div>
</section>
</footer>
</div>
<!-- ==============================================
MARKETO MUNCHKIN - Mobify
=============================================== -->
<script type="text/javascript" src="//munchkin.marketo.net//munchkin.js"></script><script>Munchkin.init('946-QEC-409', {customName: 'mobile-solution-checklist', wsInfo: 'j1RR'});</script>
<!-- ==============================================
JQUERY - Do not edit
=============================================== -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<!-- ==============================================
LOCATION DETECTION SCRIPT - Do not edit
=============================================== -->
<!--
<script>/* CASL Location Detection Script */(function (){/* Ajax call to the API to grab user data */ $.ajax({url: "//freegeoip.net/json/", type: "POST", dataType: "jsonp", success: function (b){/* Save checkbox element */ $checkbox=$('input[name="Opt_in_to_Mobify_mailings__c"]');var countryCode=b.country_code;if (countryCode==="CA" || countryCode==="DE" || countryCode==="ES" || countryCode==="IT"){/* If the user is in one of these countries, uncheck the checkbox */ $checkbox.prop("checked", false);}else{/* If the they're not in Canada, hide the checkbox altogether */ $checkbox.parentsUntil(".mktoFormRow").hide();}}, error: function (b){$checkbox=$('input[name="Opt_in_to_Mobify_mailings__c"]');/* If the database call doesn't get any result, assume they're CA */ $checkbox.prop("checked", false);}});})();</script><script>/* Floating Labels for Marketo and Mobify.com */$(document).ready(function(){var INPUT_SELECTOR='input:not(:checkbox), textarea';var CHECKBOX_SELECTOR='input[type="checkbox"]';var FORM_SELECTOR='.mktoForm';/* Fix for Marketo's particulars */ var fixMktoForms=setInterval(function(){if ($(FORM_SELECTOR).is(':visible')){$(INPUT_SELECTOR).each(function(){var $el=$(this);var $label=$('label[for="' + $el.prop('name') + '"]');/* Remove placeholder so we can use just the label instead */ /* $el.removeAttr('placeholder');*/ /* Add class triggered if the input has any value */ if (!!$el.val()){$label.addClass('triggered');$el.addClass('triggered');}/* Fix for Marketo's empty form field */ if ($el.is('[type="hidden"]')){$el.parents('.mktoFormRow').addClass('empty');}});$(CHECKBOX_SELECTOR).each(function(){/* Fix for check box fields */ var $el=$(this);$el.parents('.mktoFormRow').addClass('checkbox');});clearInterval(fixMktoForms);}}, 100);/* Listen for activity on any input or textarea's values */ $(document).on('keyup blur focus', INPUT_SELECTOR, function(e){var $target=$(e.target);var $label=$('label[for="' + $target.prop('name') + '"]');var $error=$target.siblings('.mktoError');/* Continuously checks if error is visible to hide the label */ setTimeout(function(){$label.toggleClass('hide', $error.is(':visible'));}, 0);/* Manual focus states for the relevant label */ $label.toggleClass('focus', $target.is(':focus'));/* Add class triggered if the input has any value */ $label.toggleClass('triggered', !!$target.val());$target.toggleClass('triggered', (!!$target.val() || $error.is(':visible')));});});</script><script>/* Quantcast */var _qevents=_qevents||[];(function(){var a=document.createElement("script");a.src=(document.location.protocol=="https:"?"https://secure":"http://edge")+".quantserve.com/quant.js";a.async=!0;a.type="text/javascript";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})();_qevents.push({qacct:"p-eb0xvejp1OUw6"});</script><script>/* Core Insightera */ window.AIConfig={};window.AIConfig.accountId='mobify';var protocol=(("https:"==document.location.protocol) ? "https:" : "http:");document.write(unescape("%3Cscript src='"+protocol+"//cloud3.insightera.com/gw1/djs' type='text/javascript'%3E%3C/script%3E"));</script><script>/* Google Code for Remarketing Tag */ /*<![CDATA[ */ var google_conversion_id=963555625;var google_custom_params=window.google_tag_params;var google_remarketing_only=true;/*]]> */</script><script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script><noscript><div style="display:inline;"><img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/963555625/?value=0&guid=ON&script=0"/></div></noscript><script>/* UTM -> Cookie Scraper */(function($){var utmParams=['utm_source', 'utm_medium', 'utm_campaign', 'utm_term'];var expireDays=3650;var domain=".mobify.com";var path='/';/* Check to see if there are parameters in the URL */ function checkParams(params){var p;for (var i=0;i<params.length;i++){p=params[i];qv=getQueryVariable(p);if (qv !=-1){return qv;}}return(false);}/* Parses the URL string for the matching variable name's value */ function getQueryVariable(variable){var query=window.location.search.substring(1);var vars=query.split("&");for (var i=0;i<vars.length;i++){var pair=vars[i].split("=");if (pair[0]==variable) return pair[1];}return(false);}/* Runs through cookies to see if any of the parameters already exist */ function checkCookies(params){var c;for (var i=0;i<params.length;i++){c=params[i];if (getCookie(c)) return getCookie(c);}return(false);}/* Splits cookie string to find specific cookie name's value */ function getCookie(cname){var name=cname + "=";var ca=document.cookie.split(';');for (var i=0;i<ca.length;i++){var c=ca[i];while (c.charAt(0)==' ') c=c.substring(1);if (c.indexOf(name) !=-1) return c.substring(name.length,c.length);}return(false);}/* Adds a new cookie to far future expiry at the end of the cookie string */ function setCookie(cname, cvalue, exdays){var date=new Date();date.setTime(date.getTime() + (exdays*24*60*60*1000));document.cookie=cname + '=' + cvalue + ';expires=' + date + ';path=' + path + ';domain=' + domain;/* Set the cookie */}if (checkParams(utmParams)){/* Only do stuff if we encounter a UTM query string */ if (!checkCookies(utmParams)){/* And even then, only do stuff if there are no cookies */ for (var i=0;i<utmParams.length;i++){p=utmParams[i];qv=getQueryVariable(p);if (qv !=-1){/* Is there a value for that parameter in the URL? */ setCookie(p, qv, expireDays);/* Then set a cookie for it */}}}}})();</script><script>/** * Sharing widgets for www.mobify.com. Checkout the `_share.html` template to see * custom attributes related to this script. * * Made using sharedcount.com's API and the following jQuery plugin: */jQuery.sharedCount=function(url, fn){url=encodeURIComponent(url || location.href);var domain="//free.sharedcount.com/";/* SET DOMAIN */ var apikey="b7b3ae8e08f42c0d2fa8e9b6cc030be25af14f38";/*API KEY HERE*/ var arg={data:{url : url, apikey : apikey}, url: domain, cache: true, dataType: "json"};if ('withCredentials' in new XMLHttpRequest){arg.success=fn;}else{var cb="sc_" + url.replace(/\W/g, '');window[cb]=fn;arg.jsonpCallback=cb;arg.dataType +="p";}return jQuery.ajax(arg);};/** * Trigger the count grab only after scrolling past a certain point */ (function(){/* If social buttons don't exist, don't bother with this */ if (!$('.js-social-buttons').length) return;var triggerPoint=$('.js-social-buttons').offset().top - $(window).height();var isTriggered=false;function populateCount (){$.sharedCount(location.href, function(data){$(".twitter .social-button__count").text(data.Twitter);$(".facebook .social-button__count").text(data.Facebook.like_count);$(".linkedin .social-button__count").text(data.LinkedIn);$(".googleplus .social-button__count").text(data.GooglePlusOne);});isTriggered=true;}function onScroll(){var shouldTrigger=triggerPoint <=window.scrollY;if (shouldTrigger && !isTriggered){populateCount();}}$(document).ready(function(){if (triggerPoint <=window.scrollY){populateCount();}});$(window).on('scroll.socialTrigger', onScroll);})();</script><script>/* Modernizr 2.6.2 (Custom Build) | MIT & BSD * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-input-inputtypes-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-forms_placeholder */;window.Modernizr=function(a,b,c){function A(a){j.cssText=a}function B(a,b){return A(n.join(a+";")+(b||""))}function C(a,b){return typeof a===b}function D(a,b){return!!~(""+a).indexOf(b)}function E(a,b){for(var d in a){var e=a[d];if(!D(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function F(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:C(f,"function")?f.bind(d||b):f}return!1}function G(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return C(b,"string")||C(b,"undefined")?E(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),F(e,b,c))}function H(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)t[c[d]]=c[d]in k;return t.list&&(t.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),t}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),s[a[d]]=!!e;return s}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={},s={},t={},u=[],v=u.slice,w,x=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},y={}.hasOwnProperty,z;!C(y,"undefined")&&!C(y.call,"undefined")?z=function(a,b){return y.call(a,b)}:z=function(a,b){return b in a&&C(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=v.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(v.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(v.call(arguments)))};return e}),r.flexbox=function(){return G("flexWrap")},r.flexboxlegacy=function(){return G("boxDirection")},r.rgba=function(){return A("background-color:rgba(150,255,150,.5)"),D(j.backgroundColor,"rgba")},r.hsla=function(){return A("background-color:hsla(120,40%,100%,.5)"),D(j.backgroundColor,"rgba")||D(j.backgroundColor,"hsla")},r.multiplebgs=function(){return A("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},r.backgroundsize=function(){return G("backgroundSize")},r.borderimage=function(){return G("borderImage")},r.borderradius=function(){return G("borderRadius")},r.boxshadow=function(){return G("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){return B("opacity:.55"),/^0.55$/.test(j.opacity)},r.cssanimations=function(){return G("animationName")},r.csscolumns=function(){return G("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return A((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),D(j.backgroundImage,"gradient")},r.cssreflections=function(){return G("boxReflect")},r.csstransforms=function(){return!!G("transform")},r.csstransforms3d=function(){var a=!!G("perspective");return a&&"webkitPerspective"in g.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},r.csstransitions=function(){return G("transition")},r.fontface=function(){var a;return x('@font-face{font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},r.generatedcontent=function(){var a;return x(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a};for(var I in r)z(r,I)&&(w=I.toLowerCase(),e[w]=r[I](),u.push((e[w]?"":"no-")+w));return e.input||H(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)z(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},A(""),i=k=null,e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.testProp=function(a){return E([a])},e.testAllProps=G,e.testStyles=x,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+u.join(" "):""),e}(this,this.document),Modernizr.addTest("placeholder",function(){return"placeholder"in(Modernizr.input||document.createElement("input"))&&"placeholder"in(Modernizr.textarea||document.createElement("textarea"))});</script><script>/** * Smooth scrolling links. Usage: * * <a class="js-scroll-to-btn" href="#/anchor/">Smooth Scroll</a> * ... * <section id="/anchor/">To me!</section> */(function(){$('body').on('click', '.js-scroll-to-btn, .scroll-to-btn', function(event){event.preventDefault(); var targetName=$(this).attr('href').replace('#',''); var $target=$('[id="' + targetName + '"]'); $target.addClass('target'); var top=$target.offset().top - 118; $('html, body').animate({scrollTop: top}, 500); setTimeout(function(){$target.removeClass('target');}, 2000);});})();</script>
-->
</body>
</html>
@charset "UTF-8";
/* CSS Document */
/*
* Name: Mobify Landing Page
* Author: Alejandro Finy // 3E Studio
* Framework Version: 1.0
* Marketo Template Version: 1.0 Slanted
====================================================================================================
T A B L E O F C O N T E N T S
====================================================================================================
IMPORT SECTION & GLOBAL CSS
----------------------------------------------------------------------------
00. Import Section (Fonts)
01. Global
-Html Body
-Links
STRUCTURE FRAMEWORK
----------------------------------------------------------------------------
02. Structure - Containers (Changes all div framework structure)(Note: background colors were added for testing)
- Header
- Banner
- Top Form
- Contents
- Image Rotator
- Footer
PAGE DESIGN
----------------------------------------------------------------------------
03. Header Design (Modify design content, spacing, fonts)
- Logo
- Header
04. Banner Design (Modify design content, spacing, fonts)
05. Form Box Design (Modify design content, spacing, fonts)
- Form Box
CONTENTS DESIGN
----------------------------------------------------------------------------
06. Contents Design
FOOTER DESIGN
----------------------------------------------------------------------------
07. Footer Design
MARKETO FORM
----------------------------------------------------------------------------
0. Marketo Form
SLIDER ROTATOR
----------------------------------------------------------------------------
00. Slider Rotator (all components)
RESPONSIVE MEDIA QUERIES
----------------------------------------------------------------------------
0. Responsive Media Queries Structure (Divided in Structure and Design)
- Contents
- Footer
- Header
- Logo
====================================================================================================
T A B L E O F C O N T E N T S
====================================================================================================
*/
/* IMPORT SECTION & GLOBAL CSS
--------------------------------------------------------------------------------------------------------------------- */
/* 00. Import Section
================================================== */
/* GOOGLE FONTS */
/*@import url("http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700"); */
@font-face {
font-family: "Mobify-Icons";
font-style: normal;
font-weight: 400;
src: url("/static/type/Mobify-Icons.eot?1#iefix") format("embedded-opentype"), url("/static/type/Mobify-Icons.woff?1") format("woff"), url("/static/type/Mobify-Icons.ttf?1") format("truetype"), url("/static/type/Mobify-Icons.svg?1#mobify") format("svg");
}
/* 01. Global
================================================== */
.wrapper-contents {
border-right: 1px solid #cccccc;
border-left: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
margin: auto;
width: 90%; /* CHANGE PAGE SIZE HERE */
}
/* STRUCTURE FRAMEWORK
--------------------------------------------------------------------------------------------------------------------- */
/* 02. Structure - Containers
================================================== */
/* - Header ------------------------*/
.header {
margin: auto;
width: 90%; /* CHANGE PAGE SIZE HERE */
/*background-color:#5CB2FF;*/ /* COLOR FOR DEV GUIDE */
}
/* - Banner ------------------------*/
.banner {
/*background-color:#005168;*/ /* COLOR FOR DEV GUIDE */
height: 520px;
vertical-align: top;
}
.banner-container {
margin: auto;
width: 90%; /* CHANGE PAGE SIZE HERE */
height: 520px;
}
/* - Top Form ------------------------*/
.form-container {
margin: auto;
z-index:1000;
position:relative;
/* background-color:#b2dcf9;*/
}
.top-form {
margin: auto;
width: 780px;
background-color:#f7f7f7;
margin-top: 50px; /* Fixes the indent into the banner*/
height: 620px; /* !! MARKETO FORM HEIGHT !! (adjust this if you add more form fields) */
z-index:1000;
}
/* - Contents ------------------------*/
.contents {
margin: auto;
margin-top: -30px;
/*background-color:#5CB2FF;*/ /* COLOR FOR DEV GUIDE */
}
.contents-text {
/*background-color:#f7f7f7; *//* COLOR FOR DEV GUIDE */
width: 100%;
height:100%;
padding-bottom: 21px; /* Fixes Firefox footer 100% height */
}
/* - Image Rotator ------------------------*/
.clients {
margin: auto;
/*background-color:#00f5f5;*/ /* COLOR FOR DEV GUIDE */
}
.rotator {
margin: auto;
/*background-color:#5CB2FF;*/ /* COLOR FOR DEV GUIDE */
}
/* - Footer ------------------------*/
.footer { /* This class is for footers that contains large bg color */
margin: auto;
width: 100%;
float: left;
/*background-color:#f4801f;*/ /* COLOR FOR DEV GUIDE */
vertical-align: top;
}
.footer-contents {
margin: auto;
border-color:#FF0004;
width: 90%; /* CHANGE PAGE SIZE HERE */
}
.footer-a {
float: left;
width: 198px;
/*background-color:#bb0723;*/ /* COLOR FOR DEV GUIDE */
}
.footer-b {
float: right;
width: 80%;
/*background-color:#B2B2B2;*/ /* COLOR FOR DEV GUIDE */
}
/* PAGE DESIGN
--------------------------------------------------------------------------------------------------------------------- */
/* 03. Header Design
================================================== */
/* - Logo ------------------------*/
.logo {
width:121px;
height:33px;
margin-left:4%;
}
.header {
padding: 2% 0% 2% 0%;
border-right: 1px solid #cccccc;
border-left: 1px solid #cccccc;
}
/* 04. Banner Design
================================================== */
.banner-container {
background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/189260/hero-image.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.banner-a h1 {
margin:0px;
padding: 2% 0% 0% 43%;
color:#FFF;
font-family: "ff-dagny-web-pro", Helvetica Neue,sans-serif;
font-size: 4em;
letter-spacing: -0.01em;
line-height: 1em;
font-weight:400;
}
.banner-b {
left: 0;
bottom: 0;
width: 100%;
height:260px;
background: #06474e;
content: "";
position:relative;
z-index: 0;
-webkit-transform: skewY(-4deg);
-moz-transform: skewY(-4deg);
-ms-transform: skewY(-4deg);
-o-transform: skewY(-4deg);
transform: skewY(-4deg);
}
.banner-b h2 {
margin: 180px 0px 0px 0px ;
padding: 20px 50px 0px 50px;
text-align:right;
color:#FFF;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 1.4em;
/*-webkit-transform: skewY(4deg);
-moz-transform: skewY(4deg);
-ms-transform: skewY(4deg);
-o-transform: skewY(4deg);
transform: skewY(4deg);*/
}
.banner-b h3 {
margin: 0px;
padding: 0px 50px 0px 50px;
text-align:right;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
color:#FFF;
font-weight:100;
/*-webkit-transform: skewY(4deg);
-moz-transform: skewY(4deg);
-ms-transform: skewY(4deg);
-o-transform: skewY(4deg);
transform: skewY(4deg);*/
}
/* 05. Form Box Design
================================================== */
/* - Form Box ------------------------*/
/*.form-container{
background-image:url(../images/form-background.jpg);
background-repeat:repeat-x;
background-position:top;
}*/
.top-form {
-moz-border-radius: 0.5em; /* for Firefox */
-webkit-border-radius:0.5em; /* for Webkit-Browsers */
border-radius:0.5em; /* regular */
border: 1px solid #cccccc;
}
.form_description h4 {
margin:0px;
padding: 20px 20px 20px 20px;
text-align:left;
color:#464646;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 1.5em;
letter-spacing: -0.01em;
line-height: 1em;
}
/* 06. Contents Design
================================================== */
.contents-text a:link {
color:#ff8034;
text-decoration: none;
}
.contents-text h1 {
padding: 80px 20px 0px 20px;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 2.8em;
letter-spacing: -0.01em;
line-height: 1em;
font-weight:200;
color:#555555;
}
.contents-text h2 {
padding: 15px 20px 0px 20px;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 2.4em;
letter-spacing: -0.01em;
line-height: 1em;
font-weight:200;
color:#555555;
}
.contents-text h3 {
padding: 15px 20px 0px 20px;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 2em;
letter-spacing: -0.01em;
line-height: 1em;
font-weight:200;
color:#555555;
}
.contents-text p {
padding: 0px 20px 0px 20px;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 1.4em;
font-weight:200;
color:#555555;
}
.contents-text blockquote {
font-style: italic;
}
.contents-text li {
margin: 0px 40px 0px 40px;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 1.4em;
font-weight:200;
color:#555555;
}
.contents-text pre {
margin:20px;
padding: 10px;
background-color:#f7f7f7;
-moz-border-radius: 0.5em; /* for Firefox */
-webkit-border-radius:0.5em; /* for Webkit-Browsers */
border-radius:0.5em; /* regular */
border: 1px solid #cccccc;
}
/* 07. Footer Design
================================================== */
.footer-logo {
width:121px;
height:33px;
margin:0;
}
.footer-a {
padding: 2% 2% 2% 2%;
}
.footer-b {
padding: 2% 2% 2% 2%;
text-align:right;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 0.8em;
font-weight:200;
color:#555555;
}
.footer-b a:link {
color:#ff8034;
text-decoration: none;
}
/* MARKETO FORM
--------------------------------------------------------------------------------------------------------------------- */
/* 00. Marketo Form
================================================== */
/* - Form Box Spacing ------------------------*/
.marketo-container {
padding:20px;
}
/* - Marketo Form Position ------------------------*/
.posOverride, .posOverrideFull, .posOverrideLeft, .posOverrideRight {
left: auto !important;
float:left !important;
margin:auto !important; /* Aling center form */
margin-left:0px !important;
margin-right:0px !important;
position:relative !important;
top:auto !important;
width:100% !important;
z-index:1 !important;
}
.posOverride, .posOverrideFull {
float: left !important;
width: 100% !important;
}
.posOverrideLeft {
float: left !important;
}
.posOverrideRight {
float: right !important;
}
#mktContent .lpeCElement {
float: left !important;
position: relative !important;
width: 47.9167%;
}
#mktContent .lpeCElement.first {
margin-left: 0;
margin-right: 2.08333%;
}
#mktContent .lpeCElement.last {
margin-left: 2.08333%;
margin-right: 0;
}
@media only screen and (max-width: 768px) {
#mktContent .lpeCElement.first {
margin-bottom: 36px !important;
}
#mktContent .break-768 .lpeCElement {
margin-left: 0;
margin-right: 0;
width: 100%;
}
}
.mktoButtonWrap, .mktoField, .mktoFieldDescriptor, .mktoFieldWrap, .mktoForm, .mktoFormRow, .mktoLabel {
margin: 0 !important;
}
.mktoButtonRow, .mktoButtonWrap, .mktoCheckboxList, .mktoFieldDescriptor, .mktoFieldWrap, .mktoForm, .mktoFormRow {
padding: 0 !important;
width: 100% !important;
}
.mktoForm .mktoFormRow {
color: #464646;
border-radius: 5px;
margin-bottom: 12px !important;
width: 100% !important;
}
.mktoForm .mktoFormRow::after, .mktoForm .mktoFormRow::before {
content: " ";
display: table;
}
.mktoForm .mktoFormRow::after {
clear: both;
}
.mktoForm .mktoFormRow.empty {
margin-bottom: 0 !important;
}
.mktoForm .mktoFormRow.checkbox {
background-color: transparent;
}
.mktoForm .mktoFormRow.checkbox input[type="checkbox"] {
background-color: #fff;
}
.mktoForm .mktoFieldWrap {
position: relative;
}
.mktoForm .mktoForm .mktoAsterix {
display: none;
}
.mktoForm .mktoField, .mktoForm .mktoLabel {
font-family: ff-dagny-web-pro,"Helvetica Neue",sans-serif;
}
.mktoForm input.mktoField, .mktoForm select.mktoField {
color: #4c4945;
line-height: normal !important;
}
.mktoForm .mktoCheckboxList::after, .mktoForm .mktoCheckboxList::before {
content: " ";
display: table;
}
.mktoForm .mktoCheckboxList::after {
clear: both;
}
.mktoForm input.mktoField[type="email"]:focus, .mktoForm input.mktoField[type="password"]:focus, .mktoForm input.mktoField[type="tel"]:focus, .mktoForm input.mktoField[type="text"]:focus, .mktoForm input.mktoField[type="url"]:focus, .mktoForm textarea.mktoField:focus {
border-color: #0ab8b0;
outline: 0 none;
}
.mktoForm *::-moz-placeholder {
color: #fff;
opacity: 0;
}
.mktoForm select.mktoField {
height: 54px !important;
padding: 12px !important;
width: 100% !important;
}
.mktoForm select.mktoField option:first-child {
color: #c0bfba;
}
.mktoForm input.mktoField[type="checkbox"] {
display: block;
float: left;
height: 28px !important;
margin-bottom: 12px !important;
transition: border 0.2s ease-in 0s;
width: 28px !important;
}
.mktoForm input.mktoField[type="checkbox"]:focus {
border-color: #0ab8b0;
}
.mktoForm input.mktoField[type="checkbox"]:checked {
background-image: url("/static/i/shared/checkbox.png");
background-position: center center;
background-repeat: no-repeat;
background-size: 80% 80%;
}
.mktoForm input.mktoField[type="checkbox"] + label {
float: left;
font-size: 16px;
line-height: 28px;
margin-bottom: 12px;
margin-left: 12px;
width: calc(100% - 40px);
}
.mktoForm .mktoButton {
background: #f58021 none repeat scroll 0 0;
border: 0 none;
border-radius: 5px;
color: #fff;
cursor: pointer;
display: inline-block;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 0.875rem;
font-weight: 600;
letter-spacing: 0.1em;
line-height: 1.1;
padding: 18px 24px;
position: relative;
text-align: center;
text-decoration: none !important;
text-transform: uppercase;
vertical-align: middle;
width: 100%;
}
.mktoForm .mktoButton:focus, .mktoForm .mktoButton:hover {
background: #fe923e none repeat scroll 0 0;
}
.mktoForm .mktoButton:active {
background: #fe9d52 none repeat scroll 0 0;
}
.blog .mktoForm .mktoButton {
background: #de1f40 none repeat scroll 0 0;
}
.blog .mktoForm .mktoButton:focus, .blog .mktoForm .mktoButton:hover {
background: #eb1e42 none repeat scroll 0 0;
}
.blog .mktoForm .mktoButton:active {
background: #ed3152 none repeat scroll 0 0;
}
.mktoForm .mktoLabel {
color: #c0bfba;
font-size: 16px;
font-weight: 400 !important;
left: 0;
padding: 0 0 0 12px !important;
position: absolute;
top: 18px;
transform: translateZ(0px);
width: 100% !important;
z-index: 1;
}
.mktoForm .mktoLabel.triggered {
font-size: 12px;
font-weight: 600 !important;
top: 12px;
}
.cssanimations .mktoForm .mktoLabel.triggered {
animation: 0.2s ease-out 0s normal forwards 1 running slide-up-middle;
}
.mktoForm .mktoLabel.focus.triggered {
color: #0ab8b0;
}
.mktoForm .mktoLabel.hide {
opacity: 0;
}
.cssanimations .mktoForm .mktoLabel.hide {
animation: 0.2s ease-in 0s normal forwards 1 running fade-out;
}
.mktoForm .mktoAsterix, .mktoForm .mktoLabel[for$="mailings__c"] {
display: none !important;
}
.mktoForm .mktoError {
bottom: auto !important;
left: 0 !important;
padding-left: 12px;
position: absolute;
right: 0 !important;
top: 12px !important;
transform: translateZ(0px);
z-index: 3;
}
.cssanimations .mktoForm .mktoError {
animation: 0.2s ease-out 0s normal forwards 1 running slide-in-top;
}
.mktoForm .mktoError .mktoErrorArrowWrap {
display: none;
}
.mktoForm .mktoError .mktoErrorMsg {
background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
border: 0 none !important;
border-radius: 0 !important;
box-shadow: none !important;
color: #de1f40 !important;
font-size: 12px !important;
font-weight: 600 !important;
margin-top: 0 !important;
padding: 0 !important;
text-shadow: none !important;
white-space: nowrap;
}
.mktoForm .mktoError .mktoErrorMsg .mktoErrorDetail {
display: inline !important;
}
/* Offset Reset ------------------------*/
.mktoClear, .mktoGutter, .mktoOffset {
display: none !important;
}
}
/* Combo Box ------------------------*/
form {
width:100% !important;
}
a
/* Form Fields ------------------------*/
.mktoForm input.mktoField[type="email"], .mktoForm input.mktoField[type="password"], .mktoForm input.mktoField[type="tel"], .mktoForm input.mktoField[type="text"], .mktoForm input.mktoField[type="url"], .mktoForm textarea.mktoField {
border:1px solid #cccccc !important;
border-radius: 5px !important;
line-height:3em !important;
background-color:#ffffff !important; /* field color */
/* Controls form alineation */
position:relative !important;
width: 100% !important;
}
/* Form Red Asterix ------------------------*/
.mktoAsterix {
float: left !important;
}
/* 00. Slider Rotator
================================================== */
* {
box-sizing: border-box;
}
#banners {
height: 2rem;
overflow-x: hidden;
position: relative;
width: 100%;
}
#banners .banner {
animation: bannerOne 15s linear infinite;
height: 2rem;
position: absolute;
width: 100%;
}
#banners .banner.one h1, #banners .banner.two h1, #banners .banner.three h1 {
margin: 0;
}
#banners .banner.one .image, #banners .banner.two .image, #banners .banner.three .image {
height: 100%;
position: absolute;
top: 0;
width: 100%;
}
#banners .banner.one .image {
background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/189260/slider-01.jpg") no-repeat center;
background-size: 100%;
}
#banners .banner.two {
animation-name: bannerTwo;
/*background: blue;*/ /* COLOR FOR DEV GUIDE */
}
#banners .banner.two .image {
background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/189260/slider-02.jpg") no-repeat center;
background-size: 100%;
width: 100%;
}
#banners .banner.three {
animation-name: bannerThree;
/*background: green;*/ /* COLOR FOR DEV GUIDE */
}
#banners .banner.three h1 {
float: right;
width: 50%;
}
#banners .banner.three .image {
background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/189260/slider-03.jpg") no-repeat center;
background-size: 100%;
left: 0;
}
@keyframes bannerOne {
0% {
left: 0;
}
31% {
left: 0;
}
34% {
left: -100%;
}
97% {
left: 100%;
}
100% {
left: 0;
}
}
@keyframes bannerTwo {
0% {
left: 100%;
}
31% {
left: 100%;
}
34% {
left: 0;
}
64% {
left: 0;
}
67% {
left: -100%;
}
100% {
left: -100%;
}
}
@keyframes bannerThree {
0% {
left: 100%;
}
64% {
left: 100%;
}
67% {
left: 0;
}
97% {
left: 0;
}
100% {
left: -100%;
}
}
/* smallest */
/*@media (max-width: 320px;) {
#banners {
height: 2rem;
.banner {
&.one,
&.two,
&.three {
height: 10rem;
h1 {
font-size: 2rem;
}
}
}
}
}*/
/* small */
@media (min-width: 321px) and (max-width: 728px) {
#banners {
height: 12rem;
}
#banners .banner.one, #banners .banner.two, #banners .banner.three {
height: 12rem;
}
#banners .banner.one h1, #banners .banner.two h1, #banners .banner.three h1 {
font-size: 3rem;
padding: 1.5rem;
}
}
/* medium */
@media (min-width: 729px) and (max-width: 960px) {
#banners {
height: 20rem;
}
#banners .banner.one, #banners .banner.two, #banners .banner.three {
height: 20rem;
}
#banners .banner.one h1, #banners .banner.two h1, #banners .banner.three h1 {
font-size: 6rem;
padding: 2rem;
}
}
/* large */
@media (min-width: 961px) {
#banners {
height: 20rem;
}
#banners .banner.one, #banners .banner.two, #banners .banner.three {
height: 20rem;
}
#banners .banner.one h1, #banners .banner.two h1, #banners .banner.three h1 {
font-size: 6rem;
padding: 2rem;
}
}
/* RESPONSIVE MEDIA QUERIES
--------------------------------------------------------------------------------------------------------------------- */
/* 0. Responsive Media Queries
================================================== */
@media (max-width: 1446px){
/* - Banner Design Responsive ------------------------*/
.banner-a h1 {
margin:0px;
padding: 2% 0% 6% 43%;
color:#FFF;
font-family: "ff-dagny-web-pro", Helvetica Neue,sans-serif;
font-size: 2.5em;
letter-spacing: -0.01em;
line-height: 1em;
font-weight:400;
}
}
@media (max-width: 1100px){
/* - Footer Responsive ------------------------*/
.footer-a {
margin: auto;
width: 100%;
/*background-color:#bb0723;*/
text-align:center;
}
.footer-b {
margin: auto;
width: 100%;
/*background-color:#bbf15c;*/
text-align:center;
}
}
@media (max-width: 865px){
/* - Top Form Responsive ------------------------*/
.top-form {
margin: auto;
width: 100%;
background-color:#f7f7f7;
margin-top: 0px; /* Fixes the indent into the banner*/
}
/* - Banner Design Responsive ------------------------*/
.banner-a h1 {
margin:0px;
padding: 2% 0% 0% 43%;
color:#FFF;
font-family: "ff-dagny-web-pro", Helvetica Neue,sans-serif;
font-size: 2em;
letter-spacing: -0.01em;
line-height: 1em;
font-weight:400;
}
@media (max-width: 768px){
/* - Top Form Responsive ------------------------*/
.form-container {
border: 0;
}
.top-form {
margin: auto;
width: 100%;
background-color:#f7f7f7;
margin-top: -40px; /* Fixes the indent into the banner*/
}
/* - Banner Design Responsive ------------------------*/
.banner-a h1 {
margin:0px;
padding: 2% 0% 0% 18%;
color:#FFF;
font-family: "ff-dagny-web-pro", Helvetica Neue,sans-serif;
font-size: 2em;
letter-spacing: -0.01em;
line-height: 1em;
font-weight:400;
text-align:center;
}
.banner-b {
text-align:center;
}
.banner-b h3 {
text-align:right;
}
}
@media (max-width: 480px){
/* - Banner Design Responsive ------------------------*/
.banner-a h1 {
margin:0px;
padding: 2% 0% 0% 2%;
color:#FFF;
font-family: "ff-dagny-web-pro", Helvetica Neue,sans-serif;
font-size: 1.5em;
letter-spacing: -0.01em;
line-height: 1em;
font-weight:400;
text-align:center;
}
.banner-b h2 {
margin: 320px 0px 0px 0px ;
padding: 20px 50px 0px 50px;
text-align:center;
color:#FFF;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
font-size: 1em;
-webkit-transform: skewY(4deg);
-moz-transform: skewY(4deg);
-ms-transform: skewY(4deg);
-o-transform: skewY(4deg);
transform: skewY(4deg);
}
.banner-b h3 {
margin: 0px;
padding: 0px 50px 0px 50px;
text-align:center;
font-family: "ff-dagny-web-pro",Helvetica Neue,sans-serif;
color:#FFF;
font-weight:100;
-webkit-transform: skewY(4deg);
-moz-transform: skewY(4deg);
-ms-transform: skewY(4deg);
-o-transform: skewY(4deg);
transform: skewY(4deg);
}
/* - Top Form Responsive ------------------------*/
.form-container {
margin: auto;
border: 0;
/*background-color:#b2dcf9;*/
}
.top-form {
margin: auto;
width: 100%;
background-color:#f7f7f7;
margin-top: 80px; /* Fixes the indent into the banner*/
}
.form_description h4 {
padding: 20px 20px 20px 20px;
text-align:left;
font-size: 1.1em;
letter-spacing: -0.01em;
line-height: 1em;
}
/* - Logo Design Responsive ------------------------*/
.logo {
width:96px;
height:27px;
margin-left:0%;
}
.header {
padding: 1% 0% 1% 0%;
text-align: center;
}
}
Also see: Tab Triggers