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

              
                <header>
  <div class="header-list">
    <ul>
      <li>HOME</li>
      <li>ABOUT</li>
      <li>CONTACT</li>
      <div class="clear"></div>
    </ul>
  </div>
  <h1>Keep Looking, Don’t settle.</h1>
</header>
<div class="main">
<h2>About</h2>
<div class="about">
  <div class="container">
    <div class="profile">
      <img class="icon" src="https://dl.dropbox.com/s/elxngxffjdu1l5n/cropped-009.jpg?dl=0">
      <h3>みてみて</h3>
      <h3>男の子を育ててそうと言われる通りのライター&ブロガー</h3>
    </div>
  </div>
</div>
<h2>Favorite</h2>
<div class="favorite">
  <div class="container">
    <div class=favorite-item>
      <img class="icon" src="https://dl.dropbox.com/s/kigf0hjw7ocobw5/rawpixel-668354-unsplash.jpg?dl=0">
      <h3>Family</h3>
      <p>四人暮らし。<br>子供は2歳と5歳。<br>週の半分はワンオペ育児に奮闘中。</br>
    </div>
    <div class=favorite-item>
      <img class="icon" src="https://dl.dropbox.com/s/pvz5bpkak1shuoi/annie-spratt-749650-unsplash.jpg?dl=0">
      <h3>Book</h3>
      <p>小説・エッセイ・マンガ。<br>産後は短編が読みやすくて好きになりました。</>
    </div>
    <div class=favorite-item>
      <img class="icon" src="https://dl.dropbox.com/s/p3zbrj03ecp84ik/john-schnobrich-520019-unsplash.jpg?dl=0">
      <h3>Programming</h3>
      <p>文系主婦。<br>未経験からのプログラミング挑戦記録。</p>
    </div>
  </div>
  <div class="clear"></div>
</div>
<h2>Concept</h2>
<div class="container">
  <div class="concept">
    <h3>Keep Looking, Don’t settle</h3>
    <div class="text">
      <p>And the only way to do great work is to love what you do.</p><p>If you haven’t found it yet, keep looking.<p>And don’t settle. As with all matters of the heart, you’ll know when you find it.</p><p>And, like any great relationship, it just gets better and better as the years roll on.</p><p>So Keep looking. Don’t settle… Steve Jobs</p>
    </div>
    <div class="text">
      <p>社会は自分が思ってるほどはるかに厳しい。</p><p>だけど自分が思ってるよりもなんとかなったりもする。</p><p>今いる環境から逃げ出してもいい。</p><p>それが全てじゃないから。</p><p>『進み続ければ』ほとんどのことはなんとかなる。</p>
    </div>
  </div>
</div>
<h2>Contact</h2>
<div class="container">
  <div class="contact">
    <input placeholder="mail address">
    <textarea placeholder="content"></textarea>
    <input class ="submit" type="submit" value="Submit">
  </div>
</div>
</div>
<footer>
  <div class="container">
    <div class=copyright>(C)Keep looking Don’t settle_issyonigannbaro</div>
  </div>
</footer>
              
            
!

CSS

              
                header {
  width: 980px;
  background-image: url("https://dl.dropbox.com/s/dfhf8zn2ozsepr4/mike-scheid-704840-unsplash.jpg?dl=0");
  background-size: cover;
  padding: 10px 30px;
}

.header-list li{
  float: left;
  list-style: none;
  padding: 0 10px;
  color: white;
  font-weight: bold;
}

header h1 {
  margin-top: 220px;
  font-size: 50px;
  font-family: STIXGeneral;
  color: white;
  text-align: center;
}

h2 {
  height: 50px;
  font-size: 40px;
  text-align: center;
  font-family: Raanana;
}

.main{
  text-align: center;
  width: 980px;
}

.container {
  padding: 0 15px;
  margin: 0 auto;
}

.about {
  background-image: url("https://dl.dropbox.com/s/x2azh76pqz1borj/annie-spratt-277569-unsplash.jpg?dl=0");
}

.profile {
  padding: 30px 20px;
  margin: 15px auto;
  background-color: rgba(255,255,255,0.69);
  
}

.profile h3 {
  height:50px;
  font-size: 32px;
  font-family: Helvetica;
}

.favorite {
  background-image: url("https://dl.dropbox.com/s/27uqmo9fqrk1pbe/allen-taylor-486829-unsplash.jpg?dl=0");
}

.favorite h3 {
  margin-top: 20px;
  margin-bottom: 40px; 
}
.favorite-item {
  float: left;
  width: 30%;
  background-color: rgba(255,255,255,0.8
  );
  height: 450px;
  margin: 20px 10px;
  padding: 20px 10px;
}

.favorite-item p {
  text-align: left;
}
.clear {
  clear: left;
}

.concept {
  background-image: url("https://dl.dropbox.com/s/5deljyjmivv815s/christin-hume-505823-unsplash.jpg?dl=0");
  padding: 20px 20px;
  color: white;
}

.text {
  margin: 20px 120px;
}
.concept h3 {
  font-size: 50px;
}
.concept p {
  text-align: left;
}

.contact {
  background-image: url("https://dl.dropbox.com/s/nbglycxzbmhx0o1/alvaro-reyes-500037-unsplash.jpg?dl=0");
  border: 1px solid #707070;
}
input {
  margin:30px 0 ;
  width: 850px;
  height: 50px;
}

textarea {
  width: 850px;
  height: 100px;
}

.submit {
  width: 300px;
  height: 50px;
  background-color: rgba(21,13,13,0.4);
  font-size: 24px;
  font-family: Raanana;
  color: white;
}

footer {
  width: 980px;
  border-top: 1px solid #707070;
  margin-top: 20px;
  padding-top: 25px;
}

.copyright {
  width: 500px;
  float: right;
}

.icon {
    border-radius: 50%;  /* 角丸半径を50%にする(=円形にする) */
    width:  180px;       /* ※縦横を同値に */
    height: 180px;       /* ※縦横を同値に */
}
              
            
!

JS

              
                
              
            
!
999px

Console