Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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.

+ add another resource

Behavior

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <!doctype html>
<html lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta 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 mso]><xml>
  <o:OfficeDocumentSettings>
  <o:AllowPNG/>
  <o:PixelsPerInch>96</o:PixelsPerInch>
  </o:OfficeDocumentSettings></xml>
<![endif]-->
<title>Darkstar News</title>
<!--[if !mso]><!-->
<style>
  @import url('https://fonts.googleapis.com/css?family=Oswald|Nothing+You+Could+Do');
  * {
    font-family: Oswald, roboto, arial, sans-serif;
  }
</style>
<!--<![endif]-->
<style>
  body {
    margin: 0 !important;
    padding: 0 !important;
    -webkit-transform: scale(1) !important;
    min-width: 100% !important;
  }
  .body {
    outline: 20px solid black;
  }
  #MessageViewBody,
  #MessageWebViewDiv {
    min-width: 100vw;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    zoom: 1 !important;
  }
  a img {
    border: 0;
  }
  .wrapper {
    background: url(https://res.cloudinary.com/mjrobbins/image/upload/c_scale,w_1800,q_auto,f_auto/v1541699715/band.jpg) bottom/contain no-repeat #000;
    background-image: url(https://res.cloudinary.com/mjrobbins/image/upload/c_scale,w_1800,q_auto,f_auto/v1541699715/band.jpg), url(https://res.cloudinary.com/mjrobbins/image/upload/c_scale,q_auto,f_auto/v1542028618/black-paper-50.jpg);
    background-position: bottom;
    background-size: 80%, 370px;
    background-repeat: no-repeat, repeat;
    background-blend-mode: screen;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
  }
  @media yahoo {
    .wrapper {
      background-size: 60%;
      background-repeat: no-repeat;
    }
  }
  .cta {
    transition: transform 5s;
  }
  .cta:hover {
    transform: scale(1.2) skew(-5deg, -5deg);
  }
  .video {
    display: inline-block;
    position: relative;
  }
  .video:hover {
    background: url(https://res.cloudinary.com/mjrobbins/image/fetch/w_80,q_auto,f_auto,c_fill/http%3A%2F%2Fwww.fiveminutefolklore.com%2Fwp-content%2Fuploads%2F2017%2F10%2Fyoutube-play-button-transparent-png-15.png) center/ 80px no-repeat, url(https://res.cloudinary.com/mjrobbins/image/upload/f_auto/v1542214535/mqdefault_6s.webp) center/ 100% no-repeat, url(https://res.cloudinary.com/mjrobbins/image/fetch/ar_16:9,c_fill,q_auto,f_auto,c_fill/https%3A%2F%2Fimg.youtube.com%2Fvi%2FycVjGWsqybE%2Fhqdefault.jpg) center/ 100% no-repeat;
  }
  .video:hover img {
    opacity: 0;
    transition: opacity 2s;
  }
</style>
</head>
<body bgcolor="#222222" class="body">
<div style="background-color:#000000;padding:10px;" lang="en" class="wrapper">
<!--[if true]>
<table role="presentation" style="width:100%;border-collapse:collapse; padding:0;table-layout:fixed;background:#222222"><tr><td></td><td width="600" style="font-family:arial, sans-serif;line-height:150%;color:#ffffff;" align="center">
<![endif]-->
  <div style="max-width:600px;margin:0 auto;text-align:center;font-family:arial, sans-serif;line-height:1.5;color:#ffffff;font-size:1.125em;">
    <a href="http://simonneandthedarkstars.com" target="_blank"><img src="https://res.cloudinary.com/mjrobbins/image/upload/w_600/v1542029011/DS%20logo%20white/sq_cut_out.png" srcset="https://res.cloudinary.com/mjrobbins/image/upload/v1542029010/DS%20logo%20white/sq_cut_out.svg" width="300" style="max-width:100%;" alt="Simonne and the Darkstars" vspace="20"></a>
    <h1 style="margin:.5em 0;font-size:2em;text-transform:uppercase">
      Album update and new Youtube video
    </h1>
    <p style="margin:1em;text-align:left;">This is a super quick update on the album progress. We have finished all the tracks and are now entering the final mastering stages. As promised we have a live performance video for you. This was filmed at The Brunswick, Hove, UK and edited by our
      Dark Star bassist, Mark and audio mixed by our Dark Star drummer, John.
    </p>
    <a href="https://youtu.be/ycVjGWsqybE" class="video" target="_blank"><img src="https://res.cloudinary.com/mjrobbins/image/fetch/ar_16:9,c_fill,q_auto,f_auto,c_fill/https%3A%2F%2Fimg.youtube.com%2Fvi%2FycVjGWsqybE%2Fhqdefault.jpg" alt="video" style="max-width:100%;box-sizing:border-box;border:4px solid white;border-radius:4px;" vspace="10"></a>
    <br>
    <a href="https://youtu.be/ycVjGWsqybE" style="display:inline-block;background:#990000;padding:1em 1.5em;font-size:1.25em;text-decoration:none;color:#ffffff;text-transform:uppercase;mso-border-alt:1em solid #990000;mso-padding-alt:0;box-shadow: inset 0 0 1.5em 0.5em rgba(0,0,0,0.5);border-radius: 1em 35% / 2em 35%;border: .1em solid rgba(100,0,0,0.8);margin-bottom:1em;"
      class="cta" target="_blank">Watch the video</a>
    <hr style="width:80%;max-width:400px;">
    <h2 style="margin:.5em 0;font-size:1.75em;text-transform:uppercase;">
      London gig announcement!</h2>
    <p style="margin:1em;text-align:left;"> <img src="http://www.theslaughteredlambpub.com/images/logo_on.png" width="150" align="right" hspace="0" vspace="16" style="margin:1em" alt="">Doors open at 8pm on Saturday, 23rd Feb 2019 at <a href="http://www.theslaughteredlambpub.com/" style="color:#ffffff;"
        target="_blank">The Slaughtered Lamb, 34-35 Great Sutton St, Clerkenwell, London EC1V 0DX</a>.
      <br><br> All Bright Star Kickstarters are on our guestlist as part of your reward package.
    </p>
    <br clear="all">
    <a href="https://www.wegottickets.com/event/455577" style="display:inline-block;background:#990000;padding:1em 1.5em;font-size:1.25em;text-decoration:none;color:#ffffff;text-transform:uppercase;mso-border-alt:1em solid #990000;mso-padding-alt:0;box-shadow: inset 0 0 1.5em 0.5em rgba(0,0,0,0.5);border-radius: 1em 35% / 2em 35%;border: .1em solid rgba(100,0,0,0.8);margin-bottom:1em;"
      class="cta" target="_blank">Get tickets</a>

    <hr style="width:80%;max-width:400px;">
    <h2 style="margin:.5em 0;font-size:1.75em;text-transform:uppercase">What next</h2>
    <p style="margin:1em;text-align:left;"> As soon as the album is mixed we are creating all the Kickstarter rewards PLUS hitting up some of the highly esteemed labels. So follow us on all your favourite social media channels, and freely fling the latest YouTube video around for all to enjoy.
    </p>
    <br><br>
    <p style="margin:1em;text-align:left;">
      Love and Stars,<br>
      <span style="font-size:2em;font-family: 'Nothing You Could Do', cursive;">Simonne, John &&nbsp;Mark</span>
    </p>
  </div>
<!--[if true]>
</td><td></td></tr></table>
<![endif]-->
</div>
<div style="background:#000000;color:#ffffff;text-align:center;padding:1em;font-size:1.125em;">
  <p style="mso-border-alt:1px solid #000000;mso-padding-alt:1em">
    Follow us online:
    <br>
    <br>
    <a href="https://www.facebook.com/S.TheDarkStars" style="display:inline-block;color:#fff;padding:.75em 1.5em;background:#666;border-radius:5px;margin:2px;mso-border-alt:10px solid #666;mso-padding-alt:0;">Facebook</a>
    <a href="https://twitter.com/S_TheDarkStars" style="display:inline-block;color:#fff;padding:.75em 1.5em;background:#666;border-radius:5px;margin:2px;mso-border-alt:10px solid #666;mso-padding-alt:0;">Twitter</a>
    <a href="https://www.instagram.com/simonneandthedarkstars/" style="display:inline-block;color:#fff;padding:.75em 1.5em;background:#666;border-radius:5px;margin:2px;mso-border-alt:10px solid #666;mso-padding-alt:0;">Instagram</a>
    <a href="http://simonneandthedarkstars.com/" style="display:inline-block;color:#fff;padding:.75em 1.5em;background:#666;border-radius:5px;margin:2px;mso-border-alt:10px solid #666;mso-padding-alt:0;">Website</a>
    <br><br>
    <a href="*|UNSUB|*" style="color:#eeeeee;">unsubscribe</a> &nbsp;|&nbsp;
    <a href="https://codepen.io/M_J_Robbins/full/wQoPby/" style="color:#eeeeee;">view online</a>
  </p>
</div>
            
          
!

CSS

            
              

            
          
!

JS

            
              
            
          
!
999px

Console