cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

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.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              
<!DOCTYPE html>
<html lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>

	<!--  
	, _
	/|/_)      o |\_|_    |)
	 |  \|  |  | |/ |     |/\_|  |
	 |(_/ \/|_/|/|_/|_/    \/  \/|/...
	                            (|
	
	              RebelmailReb
	          RebelmailRebelmailR
	        RebelmailRebelmailRebel
	      Rebelma             Rebelma
	     Rebelm                 Rebelm
	    Rebel    RebelmailRebe    Rebel
	   Rebel     RebelmailRebelm   Rebel
	   Rebe      RebelmailRebelma   Rebe
	  Rebel     Rebel        Rebe    Rebe
	  Rebe      Rebe         Rebe    Rebe
	  Rebe      RebelmailRebelmai    Rebel
	  Rebe      RebelmailRebelma     Rebel
	  Rebe     Rebe       Rebe       Rebel
	  Rebe     Rebe       Rebe       Rebe
	  Rebel    Rebe       Rebel     Rebel
	   Rebel  Rebel        Rebel  Rebelm
	    Rebel               RebelmailRe
	     Rebel               Rebelmail
	      Rebelm
	       Rebelmail       Rebelmail
	         RebelmailRebelmailRebe
	            RebelmailRebelma
	
	              __         __                _ __
	   ________  / /_  ___  / /___ ___  ____ _(_) /
	  / ___/ _ \/ __ \/ _ \/ / __ `__ \/ __ `/ / /
	 / /  /  __/ /_/ /  __/ / / / / / / /_/ / / /
	/_/   \___/_.___/\___/_/_/ /_/ /_/\__,_/_/_/
	
	 -->
	 
<meta name="author" content="Rebelmail.com">

	<!-- This interactive email was built by Rebelmail.com -->
	
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="date=no">
<meta name="format-detection" 
content="address=no">
<meta name="format-detection" content="email=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="x-apple-disable-message-reformatting">
<!--[if gte mso 9]><xml>
	<o:OfficeDocumentSettings>
	<o:AllowPNG/>
	<o:PixelsPerInch>96</o:PixelsPerInch>
	</o:OfficeDocumentSettings>
	</xml><![endif]-->
<title>
SmashingConf SF 2017
</title>
<style>
body{margin:0!important;padding:0!important;-webkit-transform:scale(1)!important;min-width:100%!important}#MessageViewBody{min-width:100vw;margin:0!important}#MessageWebViewDiv,#MessageWebViewDiv .xz{width:100%!important}*{text-size-adjust:none!important;-ms-text-size-adjust:none!important;-webkit-text-size-adjust:none!important;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-tap-highlight-color:transparent}.ExternalClass *{line-height:100%}p{margin:0;padding:0}table{table-layout:fixed;margin:0 auto}table table table{table-layout:auto;border-collapse:collapse}table,td{mso-table-lspace:0;mso-table-rspace:0}img{-ms-interpolation-mode:bicubic;display:block}:focus{outline-width:0}[role=button]:focus,a:focus{outline-width:initial}a,button{opacity:1!important}body{-webkit-animation:bugfix infinite 1s}@-webkit-keyframes bugfix{from{padding:0}to{padding:0}}_:-ms-input-placeholder,:root [style*=font-size]{font-size:16px!important}* [type=radio],.wk{display:none!important}a,a *,button,label,label *{cursor:pointer!important}del{color:inherit}a{color:inherit;text-decoration:none}a[x-apple-data-detectors]{color:inherit!important;text-decoration:none!important}.ExternalClass input[type=checkbox]+label,.ExternalClass input[type=radio]+label{background:0 0;padding:0;height:auto}* [data-alt]{position:relative}* [data-alt]::after{content:attr(data-alt);display:block;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:90%;padding:0 5%;text-align:center;z-index:-1}#MessageViewBody * [data-alt]::after{position:relative;-webkit-transform:translateY(-100%);transform:translateY(-100%)}@media screen and (max-width:600px){.en{width:100%}.km{width:100%;height:auto}.dj{display:none!important}}
</style>
<style>
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700);body{background:#333;background-image:-webkit-radial-gradient(center ellipse,#333 0,#000 100%);background-image:radial-gradient(ellipse at center,#333 0,#000 100%);box-shadow:inset 0 0 10vw 10vw #000;font-size:2.5vw}*{font-family:Roboto,arial,sans-serif;color:#fff;text-shadow:-.1vw -.1vw 0 rgba(0,0,0,.2)}img{-webkit-filter:drop-shadow(-.15vw -.15vw 0 rgba(0,0,0,.2));filter:drop-shadow(-.15vw -.15vw 0 rgba(0,0,0,.2))}.yw{width:92vw;height:48.25vw;margin:2vw;background-color:#f69513;background-image:-webkit-linear-gradient(top,#f69513 0,#fabf1b 100%);background-image:linear-gradient(top,#f69513 0,#fabf1b 100%);text-align:center;padding:2vw;position:relative;overflow:hidden}.yw{margin:0;position:absolute;top:2vw;left:50%;margin-left:-48vw;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .75s;transition:-webkit-transform .75s;transition:transform .75s;transition:transform .75s,-webkit-transform .75s;-webkit-transition-delay:0s;transition-delay:0s}#ae:checked~* .yw6,#bm:checked~* .yw3,#gd:checked~* .yw5,#kkm:checked~* .yw8,#qr0:checked~* .yw10,#qr1:checked~* .yw11,#qr2:checked~* .yw12,#qr3:checked~* .yw13,#qr4:checked~* .yw14,#qr5:checked~* .yw15,#qr6:checked~* .yw16,#qr:checked~* .yw1,#rj:checked~* .yw4,#wkk:checked~* .yw7,#ymw:checked~* .yw9,#zo:checked~* .yw2{-webkit-transform:scale(1);transform:scale(1);-webkit-transition-delay:.4s;transition-delay:.4s}.doj img{-webkit-transition:all .5s;transition:all .5s}#ydw:checked~* .doj img{opacity:1!important;-webkit-transform:rotate(5deg);transform:rotate(5deg)}.qor td{height:2em;border:.05em solid #333}.qor .lwb{background:green}.qor .zqo{background:#aaa}.qor .nqd{background:red}.yw:last-of-type{background-color:#1d74be;background-image:-webkit-linear-gradient(top,#1d74be 0,#29a2d8 100%);background-image:linear-gradient(top,#1d74be 0,#29a2d8 100%)}.yw>div{margin-top:24.125vw;-webkit-transform:translateY(-50%);transform:translateY(-50%);position:relative;z-index:2;pointer-events:none}label{pointer-events:initial}.yw>div::after{content:" ";display:table;clear:both}h1,h2,h3,h4,h5,p{margin:.5em 0}h1{font-size:4.5vw}h2{font-size:4vw}h3{font-size:3vw}.next-yw,.prev-yw{width:25vw;position:absolute;top:0;bottom:0;z-index:1}.prev-yw{left:0}.next-yw{right:0}ul{display:inline-block;text-align:left;list-style:square;margin:0}ul ul{display:block;list-style:disc}li{margin:1.25vw 1vw}.oke,.roj{width:50%}.roj{float:left}.oke{float:right}.grd>div{display:inline-block;width:33%;float:left}.myg{font-size:80%;font-style:italic}.ade{width:90%;height:39.375vw;line-height:39.375vw;background:rgba(0,0,0,.1);margin:0 auto;box-shadow:-.1vw -.1vw 0 rgba(0,0,0,.2),.1vw .1vw 0 rgba(255,255,255,.2)}blockquote{font-size:4vw;font-style:italic;padding:1em 2em;background:rgba(0,0,0,.1)}blockquote::after,blockquote::before{font-size:150%;line-height:.5;vertical-align:sub}blockquote::before{content:'“'}blockquote::after{content:'”'}code{display:inline-block;padding:.5em;background:#333;color:#fff;font-size:2vw;font-family:monospace;text-align:left}code *{font-size:inherit;font-family:inherit}.xnz{padding:.5em;display:inline-block;position:absolute;bottom:-2.5vw;left:50%;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);background:rgba(255,255,255,.5);color:rgba(0,0,0,.5);box-shadow:0 0 0 .5vw currentColor;border-radius:3vw 3vw 0 0;text-shadow:none}[type=checkbox],[type=radio]{display:none}#wzk:checked,#wzk:checked~input{display:inline-block!important;position:relative;z-index:99;font-size:2vw;margin:0 .6em}[data-show]::after{content:attr(data-show);display:inline-block;position:absolute;left:-1em;top:1em;width:3em;text-align:center;font-size:.9em}#egn:checked~* .kmm,[lang=it]{display:none}#egn:checked~* [lang=it]{display:inline}code .dgj,code .yyw{color:#8bc34a}code .qar{color:#cddc39}code .lxb{color:#ff5722}code .zyo{color:#f44336}code .ned{color:#8bc34a}@media print{.yw{page-break-after:always;width:10.5in;height:8in;margin:0;padding:.25in;position:relative;top:auto;left:auto;-webkit-transform:scale(1);transform:scale(1)}.yw>div{max-height:8in;margin-top:0;-webkit-transform:translateY(0);transform:translateY(0);vertical-align:middle}@page{margin:0;size:11in 8.5in}}.bgm{display:inline-block;width:95%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;position:relative;-webkit-perspective:100vw;perspective:100vw;-webkit-user-select:initial;-moz-user-select:initial;-ms-user-select:initial;user-select:initial;pointer-events:initial;-webkit-transition:z-index 1s;transition:z-index 1s}.bgm>div{display:inline-block;text-align:left;-webkit-transition:-webkit-transform 1s;transition:-webkit-transform 1s;transition:transform 1s;transition:transform 1s,-webkit-transform 1s;-webkit-transform:rotateX(0);transform:rotateX(0);-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform-origin:bottom;transform-origin:bottom}.bgm>div::after{content:attr(data-content);display:inline-block;-webkit-transform:rotateX(90deg) translateY(-50%) translateZ(1em);transform:rotateX(90deg) translateY(-50%) translateZ(1em);width:100%;background:green;box-shadow:inset 0 0 3vw rgba(0,0,0,.5);color:#fff;position:absolute;top:0;left:0;text-align:center;padding:.5em 0}.bgm:active,.bgm:focus,.bgm:hover,input:checked+.bgm{z-index:10}.bgm:focus{outline:auto}.bgm:active .oxe,.bgm:focus .rbj,.bgm:hover .jma,input:checked+.bgm .gjd{-webkit-transform:rotateX(-89deg);transform:rotateX(-89deg)}#mwg:checked+.bgm .gjd{-webkit-transform:rotateX(-89deg);transform:rotateX(-89deg)}#aoe:checked+.bgm .gjd{-webkit-transform:rotateY(-65deg);transform:rotateY(-65deg)}#xkz:checked+.bgm .gjd{-webkit-transform:rotateZ(-65deg);transform:rotateZ(-65deg)}#xkz+.bgm .gjd{-webkit-transform-origin:0 0;transform-origin:0 0}#aoe+.bgm>div::after{font-size:.4em;-webkit-transform:rotateY(90deg) translateX(.9em) translateZ(1em);transform:rotateY(90deg) translateX(.9em) translateZ(1em);left:auto;right:0;top:0;bottom:0;width:1em;padding:0 .5em;-webkit-writing-mode:vertical-lr;-ms-writing-mode:tb-lr;writing-mode:vertical-lr}#xkz+.bgm>div::after{-webkit-transform:none;transform:none;top:0;bottom:0;z-index:-1;-webkit-transform:rotateZ(0) scale(.5);transform:rotateZ(0) scale(.5);-webkit-transition:inherit;transition:inherit;-webkit-transform-origin:0 0;transform-origin:0 0;padding:1.3em 0}#xkz:checked+.bgm>div::after{-webkit-transform:rotateZ(65deg) scale(1);transform:rotateZ(65deg) scale(1)}
</style>
</head>
<body bgcolor="" style="" class="yww"><script id="__bs_script__">//<![CDATA[
    document.write("<script async src='/browser-sync/browser-sync-client.js?v=2.18.6'><\/script>".replace("HOST", location.hostname));
//]]></script>

<img src="https://staging-api.rebelmail.com/v0/emails/56f2d1b34249fc0d00a3014b/event.gif?type=open&rid=" height="0" width="0" style="display:block;max-height:0;max-width:0" alt="" aria-hidden="true">
<div style="display:none;max-height:0;overflow:hidden;mso-hide:all">
This is a preheader.
</div>
<input type="checkbox" id="wzk">
<input type="radio" name="slides" id="qr" data-show="s-1" checked>
<input type="radio" name="slides" id="zo" data-show="s-2">
<input type="radio" name="slides" id="bm" data-show="s-3">
<input type="radio" name="slides" id="rj" data-show="s-4">
<input type="radio" name="slides" id="gd" data-show="s-5">
<input type="radio" name="slides" id="ae" data-show="s-6">
<input type="radio" name="slides" id="wkk" data-show="s-7">
<input type="radio" name="slides" id="kkm" data-show="s-8">
<input type="radio" name="slides" id="ymw" data-show="s-9">
<input type="radio" name="slides" id="qr0" data-show="s-10">
<input type="radio" 
name="slides" id="qr1" data-show="s-11">
<input type="radio" name="slides" id="qr2" data-show="s-12">
<input type="radio" name="slides" id="qr3" data-show="s-13">
<input type="radio" name="slides" id="qr4" data-show="s-14">
<input type="radio" name="slides" id="qr5" data-show="s-15">
<input type="radio" name="slides" id="qr6" data-show="s-16">
<input type="checkbox" id="ydw" data-show="Time">
<div style="height:56.25vw">
<div class="yw yw1">
<label for="qr6" class="prev-yw"></label>
<div>
<h1><span 
class="kmm">CSS and interactive email</span></h1>
<label for="ydw" class="doj" style="position:relative;display:inline-block">
<img src="https://s3.amazonaws.com/rebelmail-templates/talks/images/mark.jpg" style="width:20vw;height:20vw;background:rgba(0,0,0,.2);border:.75vw solid #fff;display:block;margin:0 auto;border-radius:50%">
<img src="https://s3.amazonaws.com/rebelmail-templates/talks/SmashingconfSF/images/hat.png" style="width:12vw;position:absolute;top:1.5vw;left:4.8vw;opacity:0">
</label>
<h2>
Mark Robbins</h2>
<img src="https://s3.amazonaws.com/rebelmail-templates/talks/images/rebelmail-white.png" style="width:20vw;display:block;margin:-1vw auto 2vw">
<p>@M_J_Robbins &nbsp; @GoRebelmail</p>
</div>
<label for="zo" class="next-yw"></label>
</div>
<div class="yw yw2">
<label for="qr" class="prev-yw"></label>
<div>
<h1>What is interactive email</h1>
<blockquote>
An action taken in an email that triggers an event within the same&nbsp;email.
</blockquote>
</div>
<label for="bm" class="next-yw">
</label>
</div>
<div class="yw yw3">
<label for="zo" class="prev-yw"></label>
<div>
<h1><span class="kmm">Fleeting interactions</span></h1>
<div class="grd">
<div>
<div class="bgm">
<div class="jma" data-content="HOVER">
<code>
<span class="lxb">code</span><span class="qar">:hover</span>{<br>
&nbsp;transform: &nbsp;rotateX(-90deg);<br>
}
</code>
</div>
</div>
</div>
<div>
<div class="bgm" tabindex="0">
<div class="rbj" data-content="FOCUS">
<code>
<span class="lxb">code</span><span class="qar">:focus
</span>{<br>
&nbsp;transform: &nbsp;rotateX(-90deg);<br>
}
</code>
</div>
</div>
</div>
<div>
<div class="bgm">
<div class="oxe" data-content="ACTIVE">
<code>
<span class="lxb">code</span><span class="qar">:active</span>{<br>
&nbsp;transform: &nbsp;rotateX(-90deg);<br>
}
</code>
</div>
</div>
</div>
</div>
</div>
<label for="rj" class="next-yw"></label>
</div>
<div class="yw yw4">
<label for="bm" class="prev-yw"></label>
<div>
<h1><span class="kmm">Static interactions</span></h1>
<div class="roj">
<h3>
<span class="kmm">Checkbox hack</span></h3>
<label><input type="checkbox" style="display:block!important">
<div class="bgm">
<div class="gjd" data-content="CHECKED">
<code>
<span class="lxb">input</span><span class="qar">:checked</span> + <span class="lxb">code</span>{<br>
&nbsp;transform: &nbsp;rotateX(-90deg);<br>
}
</code>
</div>
</div>
</label>
</div>
<div class="oke">
<label><input type="radio" name="flip" id="mwg" style="display:block!important">
<div class="bgm">
<div class="gjd" 
data-content="CHECKED">
<code>
<span class="dgj">#flipX</span><span class="qar">:checked</span> + <span class="lxb">code</span>{<br>
&nbsp;transform: &nbsp;rotateX(-90deg);<br>
}
</code>
</div>
</div>
</label>
<label><input type="radio" name="flip" id="aoe" style="display:block!important">
<div class="bgm">
<div class="gjd" data-content="CHECKED">
<code>
<span class="dgj">#flipY</span><span class="qar">:checked</span> + <span class="lxb">code</span>{<br>
&nbsp;transform: &nbsp;rotateY(-65deg);<br>
}

</code>
</div>
</div>
</label>
<label><input type="radio" name="flip" id="xkz" style="display:block!important">
<div class="bgm">
<div class="gjd" data-content="CHECKED">
<code>
<span class="dgj">#flipZ</span><span class="qar">:checked</span> + <span class="lxb">code</span>{<br>
&nbsp;transform: &nbsp;rotateZ(-65deg);<br>
}
</code>
</div>
</div>
</label>
</div>
</div>
<label for="gd" class="next-yw"></label>
</div>
<div class="yw yw5">
<label for="rj" class="prev-yw"></label>
<div>
<h1>
Basic Example
</h1>
<div class="ade">
Gallery
</div>
</div>
<label for="ae" class="next-yw"></label>
</div>
<div class="yw yw6">
<label for="gd" class="prev-yw"></label>
<div>
<div class="grd">
<div>
<h1>Static</h1>
<div style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fc1.staticflickr.com%2F1%2F616%2F23104700225_f6e17569e7_b.jpg) no-repeat top/cover;width:90%;padding-bottom:15vw;display:block;margin:0 auto"></div>
</div>
<div>
<h1>Limited</h1>
<style>
.wek{width:90%;margin:0 auto 1vw;position:relative;height:15vw;z-index:5}.wek>div{width:100%;padding-bottom:56%;position:absolute;top:0;background-size:cover;z-index:0;opacity:0}.wek.interoxe>div{-webkit-transition:opacity 1s;transition:opacity 1s}.kom{width:6.5vw;height:5vw;background-size:cover;background-position:right;display:inline-block}.kom:first-of-type{margin-left:.5vw}#bnm:checked~.wek .jya,#djj:checked~.wek .yxw,#qjr:checked~.wek .lmb,#zwo:checked~.wek .nod{z-index:10;opacity:1}#bnm:checked~.mog,#djj:checked~.rrj,#qjr:checked~.ooe,#zwo:checked~.ged{outline:.2vw solid #e83b31}.kom.interoxe{margin-top:.75vw;position:relative;outline:.2vw solid transparent;-webkit-transition:outline 1s;transition:outline 1s}.kom.interoxe::after{content:'';height:0;width:0;border-width:0 1vw 1vw;border-style:solid;border-color:transparent transparent #e83b31 transparent;position:absolute;top:-1vw;left:calc(50% - 1vw);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 1s;transition:-webkit-transform 1s;transition:transform 1s;transition:transform 1s,-webkit-transform 1s;-webkit-transform-origin:bottom;transform-origin:bottom}#bnm:checked~.mog.interoxe::after,#djj:checked~.rrj.interoxe::after,#qjr:checked~.ooe.interoxe::after,#zwo:checked~.ged.interoxe::after{-webkit-transform:scale(1);transform:scale(1)}.gallery-oke,.gallery-roj{background:#fff;width:3vw;height:3vw;border-radius:50%;color:#e83b31;border:.2vw solid #e83b31;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.gallery-roj{left:-1.5vw}.gallery-oke{right:-1.5vw}.gallery-oke::after,.gallery-roj::after{content:'‹';height:3vw;width:3vw;line-height:2.5vw;font-size:3.5vw;display:block;text-shadow:0 0 0 #fff}.gallery-oke::after{content:'›'}
</style>
<input type="radio" name="limited" id="djj" checked>
<input type="radio" name="limited" id="qjr">
<input type="radio" name="limited" id="zwo">
<input type="radio" name="limited" id="bnm">
<div class="wek qmr">
<div class="yxw" style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fc1.staticflickr.com%2F1%2F616%2F23104700225_f6e17569e7_b.jpg) center/cover">
</div>
<div class="lmb" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F0%2F0c%2FGoldenGateBridge-001.jpg) center/cover">
</div>
<div class="nod" style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/http%3A%2F%2Fsocialservicecareers.com.sg%2Fwp-content%2Fuploads%2F2016%2F05%2FcablecarKopie.jpg) center/cover">
</div>
<div class="jya" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fcdn.getyourguide.com%2Fniwziy2l9cvz%2F3dLjiJPTmMECQKK0CkOsEY%2F75fdb97c7d25728da56ad7b3e2484ad6%2Fsan-francisco-alcatraz-1112x630.jpg) center/cover">
</div>
</div>
<label for="djj" class="rrj kom qmr" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fc1.staticflickr.com%2F1%2F616%2F23104700225_f6e17569e7_b.jpg) center/cover"></label>
<label for="qjr" class="ooe kom qmr" style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F0%2F0c%2FGoldenGateBridge-001.jpg) center/cover"></label>
<label for="zwo" class="ged kom qmr" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/http%3A%2F%2Fsocialservicecareers.com.sg%2Fwp-content%2Fuploads%2F2016%2F05%2FcablecarKopie.jpg) center/cover"></label>
<label for="bnm" class="mog kom qmr" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fcdn.getyourguide.com%2Fniwziy2l9cvz%2F3dLjiJPTmMECQKK0CkOsEY%2F75fdb97c7d25728da56ad7b3e2484ad6%2Fsan-francisco-alcatraz-1112x630.jpg) center/cover"></label>
<code style="margin-bottom:.5em">:checked</code> &nbsp;<code>+</code><br>
Nested labels
</div>
<div>
<h1>Interactive</h1>
<style>
.wek{width:90%;margin:0 auto 1vw;position:relative;height:15vw;z-index:5}.wek>div{width:100%;padding-bottom:56%;position:absolute;top:0;background-size:cover;z-index:0;opacity:0}.wek.interoxe>div{-webkit-transition:opacity 1s;transition:opacity 1s}.kom{width:6.5vw;height:5vw;background-size:cover;background-position:right;display:inline-block}.kom:first-of-type{margin-left:.5vw}#dqj:checked~.wek .jya,#ejn:checked~.wek .lmb,#klm:checked~.wek .nod,#wmk:checked~.wek .yxw{z-index:10;opacity:1}#dqj:checked~.mog,#ejn:checked~.ooe,#klm:checked~.ged,#wmk:checked~.rrj{outline:.2vw solid #e83b31}.kom.interoxe{margin-top:.75vw;position:relative;outline:.2vw solid transparent;-webkit-transition:outline 1s;transition:outline 1s}.kom.interoxe::after{content:'';height:0;width:0;border-width:0 1vw 1vw;border-style:solid;border-color:transparent transparent #e83b31 transparent;position:absolute;top:-1vw;left:calc(50% - 1vw);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 1s;transition:-webkit-transform 1s;transition:transform 1s;transition:transform 1s,-webkit-transform 1s;-webkit-transform-origin:bottom;transform-origin:bottom}#dqj:checked~.mog.interoxe::after,#ejn:checked~.ooe.interoxe::after,#klm:checked~.ged.interoxe::after,#wmk:checked~.rrj.interoxe::after{-webkit-transform:scale(1);transform:scale(1)}.gallery-oke,.gallery-roj{background:#fff;width:3vw;height:3vw;border-radius:50%;color:#e83b31;border:.2vw solid #e83b31;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.gallery-roj{left:-1.5vw}.gallery-oke{right:-1.5vw}.gallery-oke::after,.gallery-roj::after{content:'‹';height:3vw;width:3vw;line-height:2.5vw;font-size:3.5vw;display:block;text-shadow:0 0 0 #fff}.gallery-oke::after{content:'›'}
</style>
<input type="radio" name="interactive" id="wmk" checked>
<input type="radio" name="interactive" id="ejn">
<input type="radio" name="interactive" id="klm">
<input type="radio" name="interactive" id="dqj">
<div class="wek interoxe">
<div class="yxw" style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fc1.staticflickr.com%2F1%2F616%2F23104700225_f6e17569e7_b.jpg) center/cover">
<label for="dqj" class="gallery-roj"></label>
<label 
for="ejn" class="gallery-oke"></label>
</div>
<div class="lmb" style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F0%2F0c%2FGoldenGateBridge-001.jpg) center/cover">
<label for="wmk" class="gallery-roj"></label>
<label for="klm" class="gallery-oke"></label>
</div>
<div class="nod" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/http%3A%2F%2Fsocialservicecareers.com.sg%2Fwp-content%2Fuploads%2F2016%2F05%2FcablecarKopie.jpg) center/cover">
<label for="ejn" class="gallery-roj"></label>
<label for="dqj" class="gallery-oke"></label>
</div>
<div class="jya" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fcdn.getyourguide.com%2Fniwziy2l9cvz%2F3dLjiJPTmMECQKK0CkOsEY%2F75fdb97c7d25728da56ad7b3e2484ad6%2Fsan-francisco-alcatraz-1112x630.jpg) center/cover">
<label for="klm" class="gallery-roj"></label>
<label for="wmk" class="gallery-oke"></label>
</div>
</div>
<label for="wmk" class="rrj kom interoxe" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fc1.staticflickr.com%2F1%2F616%2F23104700225_f6e17569e7_b.jpg) center/cover"></label>
<label for="ejn" class="ooe kom interoxe" style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F0%2F0c%2FGoldenGateBridge-001.jpg) center/cover"></label>
<label for="klm" class="ged kom interoxe" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/http%3A%2F%2Fsocialservicecareers.com.sg%2Fwp-content%2Fuploads%2F2016%2F05%2FcablecarKopie.jpg) center/cover"></label>
<label for="dqj" class="mog kom interoxe" 
style="background:url(https://res.cloudinary.com/rebelmail/image/fetch/w_1400,h_800,q_auto,f_auto,c_fill/https%3A%2F%2Fcdn.getyourguide.com%2Fniwziy2l9cvz%2F3dLjiJPTmMECQKK0CkOsEY%2F75fdb97c7d25728da56ad7b3e2484ad6%2Fsan-francisco-alcatraz-1112x630.jpg) center/cover"></label>
<code>~</code> &nbsp;<code style="margin-bottom:.5em">&lt;label for="foo"&gt;</code><br>
Punched card coding
</div>
</div>
</div>
<label for="wkk" class="next-yw"></label>
</div>
<div class="yw yw7">
<label for="ae" class="prev-yw">
</label>
<div>
<h1>
Limited - Nested labels
</h1>
<div class="roj">
<code style="font-size:1.5vw;line-height:2.25vw">
&lt;<span class="zyo">label</span>&gt;<br>
&nbsp;&nbsp;&lt;<span class="zyo">input</span> type="<span class="ned">radio</span>" name="<span class="ned">array1</span>"&gt;<br>
&nbsp;&nbsp;&lt;<span class="zyo">div</span>&gt;[image]&lt;/<span class="zyo">div</span>&gt;<br>
&nbsp;&nbsp;&lt;<span class="zyo">label</span>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="zyo">input</span> type="
<span class="ned">radio</span>" name="<span class="ned">array1</span>"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="zyo">div</span>&gt;[image]&lt;/<span class="zyo">div</span>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="zyo">label</span>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="zyo">input</span> type="<span class="ned">radio</span>" name="<span class="ned">array1</span>"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="zyo">div</span>&gt;[image]&lt;/<span 
class="zyo">div</span>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="zyo">label</span> for="<span class="ned">null</span>"&gt;&lt;/<span class="zyo">label</span>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="zyo">div</span>&gt;[thumbnail]&lt;/<span class="zyo">div</span>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/<span class="zyo">label</span>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;<span class="zyo">div</span>&gt;[thumbnail]&lt;/<span class="zyo">div</span>&gt;<br>
&nbsp;&nbsp;&lt;/
<span class="zyo">label</span>&gt;<br>
&nbsp;&nbsp;&lt;<span class="zyo">div</span>&gt;[thumbnail]&lt;/<span class="zyo">div</span>&gt;<br>
&lt;/<span class="zyo">label</span>&gt;<br>
</code>
</div>
<div class="oke">
<code>
<span class="lxb">input</span><span class="qar">:checked</span> + <span class="lxb">div</span>{<br>
&nbsp;&nbsp;display:block;<br>
}<br><br>
<span class="lxb">input</span><span class="qar">:checked</span> + <span class="lxb">div</span> + <span class="lxb">label</span> + <span 
class="lxb">div</span>{<br>
&nbsp;&nbsp;border-color:red;<br>
}
</code>
</div>
</div>
<label for="kkm" class="next-yw"></label>
</div>
<div class="yw yw8">
<label for="wkk" class="prev-yw"></label>
<div>
<h1>
Nested label example
</h1>
<div class="ade">
Filters
</div>
</div>
<label for="ymw" class="next-yw"></label>
</div>
<div class="yw yw9">
<label for="kkm" class="prev-yw"></label>
<div>
<code>
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filtergendermale</span><span class="qar">
:checked</span> +*+* <span class="yyw">.filterfemale</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filtergendermale</span><span class="qar">:checked</span> +*+* <span class="yyw">.filtergendernull</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filtergenderfemale</span><span class="qar">:checked</span> +*+* <span class="yyw">.filtermale</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filtergenderfemale</span><span class="qar">
:checked</span> +*+* <span class="yyw">.filtergendernull</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filtergendergendernull</span><span class="qar">:checked</span>+*+* <span class="yyw">..filtermale</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filtergendergendernull</span><span class="qar">:checked</span> +*+* <span class="yyw">.filterfemale</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterglassesyes</span><span 
class="qar">:checked</span> +*+* <span class="yyw">.filterno</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterglassesyes</span><span class="qar">:checked</span> +*+* <span class="yyw">.filterglassesnull</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterglassesno</span><span class="qar">:checked</span> +*+* <span class="yyw">.filteryes</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterglassesno</span><span 
class="qar">:checked</span> +*+* <span class="yyw">.filterglassesnull</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterglassesglassesnull</span><span class="qar">:checked</span> +*+* <span class="yyw">.filteryes</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterglassesglassesnull</span><span class="qar">:checked</span> +*+* <span class="yyw">.filterno</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterhairshort</span>
<span class="qar">:checked</span> +*+* <span class="yyw">.filterlong</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterhairshort</span><span class="qar">:checked</span> +*+* <span class="yyw">.filterhairnull</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterhairlong</span><span class="qar">:checked</span> +*+* <span class="yyw">.filtershort</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterhairlong</span><span 
class="qar">:checked</span> +*+* <span class="yyw">.filterhairnull</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterhairhairnull</span><span class="qar">:checked</span> +*+* <span class="yyw">.filtershort</span>,
<span class="yyw">.filtersmashingFilter</span>
<span class="dgj">#filterhairhairnull</span><span class="qar">:checked</span> +*+* <span class="yyw">.filterlong</span>{
<br>max-height: 0;	max-width: 0;}
</code>
</div>
<label for="qr0" class="next-yw"></label>
</div>

<div class="yw yw10">
<label for="ymw" class="prev-yw"></label>
<div>
<h1>
Interactive - Punched card coding
</h1>
<div class="roj">
<img src="https://s3.amazonaws.com/rebelmail-templates/talks/SmashingconfSF/images/bread.png" style="display:inline-block;width:90%;height:auto">
</div>
<div class="oke">
<img src="https://s3.amazonaws.com/presentations-fronttrends/punchedcard.jpg" style="display:inline-block;width:90%;height:auto">
</div>
<code style="margin-top:1em">
<span class="dgj">#itemA-3</span><span 
class="qar">:checked</span> ~ <span class="dgj">#itemB-6</span><span class="qar">:checked</span> ~ <span class="dgj">#itemC-2</span><span class="qar">:checked</span> ~ <span class="dgj">#itemD-11</span><span class="qar">:checked</span> ~ <span class="dgj">#itemE-5</span><span class="qar">:not</span>(<span class="qar">:checked</span>)~ <span class="dgj">#itemF-2</span><span class="qar">:checked</span> ~ <span class="dgj">#itemG-5</span><span class="qar">:checked</span> ~ <span class="yyw">.wrapper</span> 
<span class="yyw">.foo</span>{display:none;}
</code>
</div>
<label for="qr1" class="next-yw"></label>
</div>
<div class="yw yw11">
<label for="qr0" class="prev-yw"></label>
<div>
<h1>
Punched card Example
</h1>
<div class="ade">
Shopping cart
</div>
</div>
<label for="qr2" class="next-yw"></label>
</div>
<div class="yw yw12">
<label for="qr1" class="prev-yw"></label>
<div>
<h1>
Support
</h1>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="qor">
<tr>
<th style="width:23vw"></th>
<th>
iOS
</th>
<th>
Applemail
<div style="font-size:.5em">+ outlook mac</div>
</th>
<th>
Android
</th>
<th>
Yahoo
</th>
<th>
Gmail
</th>
<th>
Outlook
<div style="font-size:.5em">+ outlook.com</div>
</th>
</tr>
<tr>
<td> Market Share </td>
<td>	42%</td>
<td>	7%</td>
<td>	10%</td>
<td>	2%</td>
<td>	20%</td>
<td>	11%</td>
</tr>
<tr>
<td> Limited </td>
<td class="lwb"> </td>
<td class="lwb"> </td>
<td class="lwb"> </td>
<td class="lwb"> </td>
<td class="zqo"> </td>
<td class="nqd"> </td>
</tr>
<tr>
<td>
 Interactive </td>
<td class="lwb"> </td>
<td class="lwb"> </td>
<td class="lwb"> </td>
<td class="nqd"> </td>
<td class="nqd"> </td>
<td class="nqd"> </td>
</tr>
<tr>
<td> Form Submit </td>
<td class="lwb"> </td>
<td class="lwb"> </td>
<td class="zqo"> </td>
<td class="lwb"> </td>
<td class="lwb"> </td>
<td class="nqd"> </td>
</tr>
</table>
<p class="myg">
Market share based on 1.34 billion opens in March 2017 <br>
Taken from <a href="http://emailclientmarketshare.com/">emailclientmarketshare.com</a>
</p>
</div>
<label for="qr3" class="next-yw"></label>
</div>
<div class="yw yw13">
<label for="qr2" class="prev-yw"></label>
<div>
<h1>Targeting email clients</h1>
<div class="grd">
<div>
<h3>Outlook desktop</h3>
<code>
&lt;!--[if mso]&gt;<br>
&nbsp;&nbsp;Outlook code<br>
&lt;![endif]--&gt;
</code>
<h3>Outlook.com</h3>
<code>
[owa] .foo
</code>
</div>
<div>
<h3>Thunderbird</h3>
<code>
.moz-text-html .foo
</code>
<h3>Samsung S4</h3>
<code>
#secdiv .foo
</code>
<h3>Samsung S5, S6, S7</h3>
<code>
#MessageWebViewDiv .foo
</code>
</div>
<div>
<h3>AOL</h3>
<code>
.★:not(#★) .foo
</code>
<h3>Gmail</h3>
<code>
u + .body .foo
</code>
<h3>Yahoo</h3>
<code>
@media screen yahoo{}
</code>
</div>
</div>
</div>
<label for="qr4" class="next-yw"></label>
</div>
<div class="yw yw14">
<label for="qr3" class="prev-yw"></label>
<div>
<h1>
<span class="kmm">Some fun examples</span>
</h1>
<div class="roj">
<div class="ade">
X-Wing
</div>
</div>
<div class="oke">
<div class="ade">
FPS
</div>
</div>
<a 
href="https://codepen.io/M_J_Robbins/" class="xnz">codepen.io/M_J_Robbins</a>
</div>
<label for="qr5" class="next-yw"></label>
</div>
<div class="yw yw15">
<label for="qr4" class="prev-yw"></label>
<div>
<label for="wzk">
<h1>
<span class="kmm">And finally...</span>
</h1>
</label>
</div>
<label for="qr6" class="next-yw"></label>
</div>
<div class="yw yw16">
<label for="qr5" class="prev-yw"></label>
<div>
<h1>
<span class="kmm">Thank you</span>
<span lang="it">Grazie</span>
</h1>
<img 
src="https://s3.amazonaws.com/rebelmail-templates/talks/images/mark.jpg" style="width:20vw;height:20vw;background:rgba(0,0,0,.2);border:.75vw solid #fff;display:block;margin:0 auto;border-radius:50%">
<h2>Mark Robbins</h2>
<img src="https://s3.amazonaws.com/rebelmail-templates/talks/images/rebelmail-white.png" style="width:20vw;display:block;margin:-1vw auto 2vw">
<p>@M_J_Robbins &nbsp; @GoRebelmail</p>
</div>
<label for="qr" class="next-yw"></label>
</div>
<style>
@import url(https://fonts.googleapis.com/css?family=PT+Mono);time{opacity:.3;position:absolute;top:51.25vw;right:2.5vw;z-index:10;line-height:1;height:1em;overflow:hidden}time span:after,time span:before{content:'0123456789';width:1ch;text-align:center;line-height:1;display:inline-block;font-family:'pt mono',monospace;vertical-align:top;word-break:break-all}#ydw:checked~* time span::before{-webkit-animation:time60 3600s steps(6) infinite;animation:time60 3600s steps(6) infinite}#ydw:checked~* time span::after{-webkit-animation:time10 600s steps(10) infinite;animation:time10 600s steps(10) infinite}#ydw:checked~* time span+span::before{-webkit-animation:time60 60s steps(6) infinite;animation:time60 60s steps(6) infinite}#ydw:checked~* time span+span::after{-webkit-animation:time10 10s steps(10) infinite;animation:time10 10s steps(10) infinite}@-webkit-keyframes time10{from{-webkit-transform:translateY(0);transform:translateY(0)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes time10{from{-webkit-transform:translateY(0);transform:translateY(0)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@-webkit-keyframes time60{from{-webkit-transform:translateY(0);transform:translateY(0)}to{-webkit-transform:translateY(-60%);transform:translateY(-60%)}}@keyframes time60{from{-webkit-transform:translateY(0);transform:translateY(0)}to{-webkit-transform:translateY(-60%);transform:translateY(-60%)}}
</style>
<time><span></span>:<span></span></time></div>
            
          
!
999px
Loading ..................

Console