Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ add another resource


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


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.


Auto Save

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.


  <link href="" rel="stylesheet">

  <div class="container">
    <h1>Welcome Back! <span class="wave">👋🏾</span></h1>

    <input type="email" />

    <input type="password" />

    <button class="signup">Sign Up</button>
    <button class="login">Login</button>
    <a href="#">Forgot Password</a>
    <p class="disclaimer">This is a demo! Please do not enter any personal information.</p>


                :root {
  --white: #fff;
  --accent-color: #b5838d;
  --dark-accent-color: #a6757f;
  --main-color: #6d6875;
  --dark-main-color: #56505f;
.wave {
  display: block;
  animation: waving 3s infinite;

@keyframes waving {
  0% {
    transform: rotate(30deg);
  50% {
    transform: rotate(-15deg);
  100 {
    transform: rotate( 30deg);

body {
  background: rgb(255, 180, 162);
  background: linear-gradient(
    rgba(255, 180, 162, 1) 0%,
    rgba(255, 180, 162, 1) 53%,
    rgba(229, 152, 155, 1) 100%
  color: var(--main-color);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", sans-serif;

a {
  text-align: center;

button {
  font-size: 0.8em;
  color: var(--white);
  padding: 1em;
  margin: 0.5em;
  border-radius: 5px;
  border-width: 0px;
  text-transform: uppercase;

input {
  padding: 1em;
  border-radius: 0px;
  border: 0px;
  border-radius: 5px;
  background-color: hsl(0, 0%, 95%);
.container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  max-width: 250px;
  background-color: var(--white);
  padding: 2em;
  border-radius: 5px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  border-top: 10px solid var(--accent-color);

.signup {
  background-color: var(--accent-color);
.signup:hover {
  background-color: var(--dark-accent-color);

.login {
  background-color: var(--main-color);

.login:hover {
  background-color: var(--dark-main-color);

.disclaimer {
  font-size: 0.9em;

a {
  color: var(--main-color);

a:hover {
  color: var(--dark-main-color);