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 includes JSX processing.

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

Packages

Add Packages

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.

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML

              
                <title>How to install a Discord theme (with BetterDiscord)</title>
<link href="https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i" rel="stylesheet">

<div class="background">
  <div class="title">How to install a
    <div class="discordlogo"></div>theme?
  </div>
  <div style="height:20px"></div>
  <div class="instructions">With BetterDiscord</div>

  <div style="height:70px"></div>
  <div class="step">Step 1</div>
  <div class="instructions">Install BetterDiscord</div>
  <div style="height:20px"></div>
  <a class="link" href="https://betterdiscord.net">DOWNLOAD
  </a>

  <div style="height:70px"></div>
  <div class="step">Step 2</div>
  <div class="instructions">Join the BetterDiscord server</div>
  <div style="height:20px"></div>
  <a class="link" href="https://discord.gg/0Tmfo5ZbORCRqbAd">JOIN
  </a>

  <div style="height:70px"></div>
  <div class="step">Step 3</div>
  <div class="instructions">Go in the
    <div class="highlight">#theme-repo</div> channel, choose a theme and download it.</div>

  <div style="height:70px"></div>
  <div class="step">Step 4</div>
  <div class="instructions">Open discord then go in settings -> BetterDiscord -> Themes -> Open theme folder.</div>
  <div style="height:15px"></div>
  <video width="50%" height="auto" autoplay loop>
  <source src="http://bearddesign.s-ul.eu/zAZRSXcF" type="video/webm">
<a href="http://bearddesign.s-ul.eu/zAZRSXcF">see how here</a>
</video>

  <div style="height:70px"></div>
  <div class="step">Step 5</div>
  <div class="instructions">Slide the
    <div class="highlight">.theme.css</div> file you downloaded into the folder that just opened.</div>
  <div style="height:15px"></div>
  <video width="50%" height="auto" autoplay loop>
    <source src="http://bearddesign.s-ul.eu/5sK4BfdN" type="video/webm">
    <a href="http://bearddesign.s-ul.eu/5sK4BfdN">see how here</a>
  </video>

  <div style="height:70px"></div>
  <div class="step">Step 6</div>
  <div class="instructions">Go back to Discord and do
    <div class="highlight">ctrl+r</div> to reload it.</div>

  <div style="height:70px"></div>
  <div class="step">Step 6</div>
  <div class="instructions">Step 6: Go back in settings -> BetterDiscord -> Themes and enable the theme.</div>
  <div style="height:15px"></div>
  <video width="50%" height="auto" autoplay loop>
    <source src="http://bearddesign.s-ul.eu/2Wh82jjH" type="video/webm">
    <a href="http://bearddesign.s-ul.eu/2Wh82jjH">see how here</a>
  </video>

  <div style="height:70px"></div>
  <div class="step">Step 7</div>
  <div class="instructions">You are done!
  <div style="height:70px"></div>
</div>
  <a href="https://betterdiscord.net">
<div class="bottom-wrapper">
  <div class="wsite">Official BetterDiscord Website</div>
</div>
</a>
              
            
!

CSS

              
                html,
body,
.background {
  margin: 0;
  width: 100%;
  height: auto;
  background:#7289DA;
  text-align:center
}
@font-face {
  font-family: Whitney;
  font-style: light;
  font-weight: 300;
  src: url(https://discordapp.com/assets/16801bfdf51ed88e69bc90626a3ea436.woff) format('woff')
}

@font-face {
  font-family: Whitney;
  font-style: normal;
  font-weight: 500;
  src: url(https://discordapp.com/assets/d153359b5d87601d2b9c708b7ae2db02.woff) format('woff')
}

@font-face {
  font-family: Whitney;
  font-style: medium;
  font-weight: 600;
  src: url(https://discordapp.com/assets/a934ab008c7f6a2274ec441f6be0696a.woff) format('woff')
}

@font-face {
  font-family: Whitney;
  font-style: semibold;
  font-weight: 650;
  src: url(https://discordapp.com/assets/877ef48bf9fcfee590f0ba64de101b59.woff) format('woff')
}

@font-face {
  font-family: Whitney;
  font-style: bold;
  font-weight: 700;
  src: url(https://discordapp.com/assets/2e004dd717cdc58b9ccb361d286ebbce.woff) format('woff')
}
.discordlogo{
  background-image:url(https://discordapp.com/assets/192cb9459cbc0f9e73e2591b700f1857.svg);
  width:250px;
  height:65px;
  background-size:100%;
  display:inline-block;
  background-repeat:no-repeat;
  background-position:50%;
  margin-left:-5px;
  margin-bottom:-22px
}
.title{
  font-smooth: auto;
  padding-top:80px;
  font-family: 'Whitney', sans-serif;
  font-weight:700;
  color:#fff;
  font-size:40px
}
.background{
  background-image:url(https://cdn.discordapp.com/attachments/185046628732895232/204497752091000832/bg3.svg);
  background-size:50%;
}
.step{
  font-smooth: auto;
  font-family: 'Whitney', sans-serif;
  font-weight:700;
  color:#fff;
  font-size:22px;
  opacity:0.8
}
.link {
  text-decoration:none;
  color:#fff;
  font-family: 'Whitney', sans-serif;
  font-size:13px;
  opacity:0.8;
  margin-right:auto;
  margin-left:auto;
  padding:10px 20px;
  border:2px solid #fff;
  border-radius:100px;
}

.link:hover{
  opacity:1;
  }
.instructions{
  font-smooth: auto;
  font-family: 'Whitney', sans-serif;
  font-weight:650;
  color:rgba(255,255,255,0.65);
  font-size:16px;
}
.highlight{
  background:rgba(255,255,255,0.1);
  display:inline-block;
  opacity:1;
  border-radius:2px;
  padding:0 5px;
  color:#fff
}
.highlight:hover{
  background:rgba(255,255,255,0.2);
}
.bottom-wrapper{
  width:100%;
  background:#2C2F33;
  text-align:center;
  padding-top:30px;
  padding-bottom:30px;
}
.wsite{
  text-decoration:none;
  color:#fff;
  font-family: 'Whitney', sans-serif;
  font-size:18px;
  opacity:0.5;
  transition:all 100ms ease
}
.bottom-wrapper:hover .wsite{
  opacity:0.8
}
              
            
!

JS

              
                
              
            
!
999px

Console