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

              
                <div class="container">
  <div class="sidebar">
    <h2 class="site-title">Hi, I'm Caroline.</h2>
    <div class="navigation">
      <a href="#">About Me</a>
      <a href="#">Illustration</a>
      <a href="#">Photography</a>
      <a href="#">Fanfic</a>
      <a href="#" class="current-page">Blog</a>
    </div>
  </div>
  <div class="content">
    <h1 class="post-title">evolution of a doodle</h1>
    <span class="post-date">April 3, 2019</span>
    <p>I’m craving sushi, and had it in my head to do this pop-art sushi squares print.</p>
<p>My process has evolved a bit; I used to draw in color from the start, filling in shapes as soon as I’d outlined them. Now I tend to draw outlines and fill in with color later. I’ve found that makes it easier to try on multiple color schemes (especially for patterns) and helps me focus on the shapes and composition. Sometimes I also like the black and white version enough to save it as a separate version.</p>
<p>It starts out like this; a really, really rough sketch:</p>
<p><img data-attachment-id="10746" data-permalink="http://caroline.blog/2019/04/04/evolution-of-a-doodle/screen-shot-2019-04-02-at-11-21-45-am/" data-orig-file="https://i0.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-11.21.45-AM.png?fit=1130%2C1130" data-orig-size="1130,1130" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Screen Shot 2019-04-02 at 11.21.45 AM" data-image-description="" data-medium-file="https://i0.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-11.21.45-AM.png?fit=300%2C300" data-large-file="https://i0.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-11.21.45-AM.png?fit=842%2C842" class="alignnone size-full wp-image-10746" src="https://i0.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-11.21.45-AM.png?resize=842%2C842" alt="Screen Shot 2019-04-02 at 11.21.45 AM" width="654" height="654" srcset="https://i0.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-11.21.45-AM.png?w=1130 1130w, https://i0.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-11.21.45-AM.png?resize=150%2C150 150w, https://i0.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-11.21.45-AM.png?resize=300%2C300 300w, https://i0.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-11.21.45-AM.png?resize=1024%2C1024 1024w, https://i0.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-11.21.45-AM.png?resize=842%2C842 842w" sizes="(max-width: 842px) 100vw, 842px"></p>
<p>Unfortunately I forgot to screenshot the semi-finished outline this time. It looks something like this, but much less polished:</p>
<p><img data-attachment-id="10750" data-permalink="http://caroline.blog/2019/04/04/evolution-of-a-doodle/screen-shot-2019-04-03-at-12-40-00-pm/" data-orig-file="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.40.00-PM.png?fit=1204%2C1182" data-orig-size="1204,1182" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Screen Shot 2019-04-03 at 12.40.00 PM" data-image-description="" data-medium-file="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.40.00-PM.png?fit=300%2C295" data-large-file="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.40.00-PM.png?fit=842%2C826" class="alignnone size-full wp-image-10750" src="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.40.00-PM.png?resize=842%2C827" alt="Screen Shot 2019-04-03 at 12.40.00 PM" width="654" height="642" srcset="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.40.00-PM.png?w=1204 1204w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.40.00-PM.png?resize=300%2C295 300w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.40.00-PM.png?resize=1024%2C1005 1024w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.40.00-PM.png?resize=842%2C827 842w" sizes="(max-width: 842px) 100vw, 842px"></p>
<p>Once I have the general composition down, I start playing around with colors, stroke widths, shapes, and opacity:</p>
<p><img data-attachment-id="10749" data-permalink="http://caroline.blog/2019/04/04/evolution-of-a-doodle/screen-shot-2019-04-02-at-10-29-38-pm-2/" data-orig-file="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-10.29.38-PM-1.png?fit=1102%2C1102" data-orig-size="1102,1102" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Screen Shot 2019-04-02 at 10.29.38 PM" data-image-description="" data-medium-file="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-10.29.38-PM-1.png?fit=300%2C300" data-large-file="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-10.29.38-PM-1.png?fit=842%2C842" class="alignnone size-full wp-image-10749" src="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-10.29.38-PM-1.png?resize=842%2C842" alt="Screen Shot 2019-04-02 at 10.29.38 PM" width="654" height="654" srcset="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-10.29.38-PM-1.png?w=1102 1102w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-10.29.38-PM-1.png?resize=150%2C150 150w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-10.29.38-PM-1.png?resize=300%2C300 300w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-10.29.38-PM-1.png?resize=1024%2C1024 1024w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-02-at-10.29.38-PM-1.png?resize=842%2C842 842w" sizes="(max-width: 842px) 100vw, 842px"></p>
<p>Then comes the part where I tweak everything for hours. Lots of smoothing out rough curves and joining endpoints. In this case, I didn’t like the lack of detail in the wasabi, so I redrew it. I also swapped a couple blocks around for visual interest. And here’s the finished version:</p>
<p><img data-attachment-id="10748" data-permalink="http://caroline.blog/2019/04/04/evolution-of-a-doodle/screen-shot-2019-04-03-at-12-13-40-pm/" data-orig-file="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.13.40-PM.png?fit=1182%2C1182" data-orig-size="1182,1182" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Screen Shot 2019-04-03 at 12.13.40 PM" data-image-description="" data-medium-file="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.13.40-PM.png?fit=300%2C300" data-large-file="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.13.40-PM.png?fit=842%2C842" class="alignnone size-full wp-image-10748" src="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.13.40-PM.png?resize=842%2C842" alt="Screen Shot 2019-04-03 at 12.13.40 PM" width="654" height="654" srcset="https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.13.40-PM.png?w=1182 1182w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.13.40-PM.png?resize=150%2C150 150w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.13.40-PM.png?resize=300%2C300 300w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.13.40-PM.png?resize=1024%2C1024 1024w, https://i2.wp.com/caroline.blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-03-at-12.13.40-PM.png?resize=842%2C842 842w" sizes="(max-width: 842px) 100vw, 842px"></p>
    <p class="post-tags"><a href="#">#illustration</a> <a href="#">#design</a></p>
  </div>
</div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:400,900|Noto+Serif+TC:400,700');

body {
  font-family: "Noto Serif TC", Georgia, serif;
  line-height: 1.8;
  padding: 50px 0;
}

a {
  color: #fd7065;
}

.container {
  display: grid;
  grid-template-columns: 10% 160px 5% minmax(300px,560px) 10%;
}

.sidebar {
  grid-column: 2 / 2;
  position: fixed;
  width: 160px;
  left: 10%;
}

.navigation {
  font-family: "Noto Sans TC";
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 900;
  width: 80px;
}

.sidebar a {
  color: #fd7065;
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.sidebar a:after {
  display: block;
  border-bottom: 2px solid #fd7065;
  content: "";
  width: 1px;
  transition: 0.3s all ease-in-out;
  position: relative;
  left: 50%;
  transform-origin: 50% 0;
  transform: scaleX(1);
  visibility: hidden;
}

.sidebar a:focus:after,
.sidebar a:hover:after,
.sidebar a.current-page:after {
  transform: scaleX(150);
  visibility: visible;
}

.site-title {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 18px;
}

.content {
  grid-column: 4 / 4;
  font-size: 18px;
}

.content img {
  max-width: 100%;
  height: auto;
}

.post-title {
  display: inline-block;
}

.post-date,
.post-date a {
  font-family: "Noto Sans TC";
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 900;
  color: #aaa;
  margin-left: 10px;
  text-decoration: none;
}

.post-tags {
  font-size: 14px;
  word-spacing: 5px;
}
              
            
!

JS

              
                
              
            
!
999px

Console