Pen Settings



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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


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.


                <div class="full">
  <div class="center_logo">
    <a href=""><img src="" alt="125naroom / デザインするところ(会社)です。"></a>

<div class="_a">
  <a href="" target="_blank" class="link">View the note</a>


                .full {
  background-image: url(;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
.full .center_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 1s 0s ease-in-out;
  animation: fadeInup_center_logo 1s ease-in-out both;
  animation-delay: .8s;
@keyframes fadeInup_center_logo {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
.full .center_logo a {
  display: block;
.full .center_logo a img {
  width: 100%;
  max-width: 160px;
  height: auto;

html, body {
  margin: 0;
  padding: 0;
body {
  font-family: YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  letter-spacing: .025em;
  line-height: 1.8;
* {
  box-sizing: border-box;
._a {
  width: 250px;
  margin: 50px auto;  
._a a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 2.0em 0;
  color: #222222;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid #222222;
  background: linear-gradient(to right, #ffffff 50%, #222222 50%);
  background-size: 200% auto;
  transition: .3s;
  position: relative;
  margin-bottom: 30px; 
._a a:after {
  content: "";
  width: 100%;
  height: 100%;
  border-right: 1px solid #222222;
  border-bottom: 1px solid #222222;
  right: -5px;
  bottom: -5px;
  position: absolute;
._a a:hover {
  color: #ffffff;
  background-position: -100% 0;


                // ブラウザサイズを自動で取得してiOS対策
$(document).ready(function () {
  var hSize = $(window).height();
  $(".full").height(hSize); // ブラウザの縦のサイズを取得
$(window).resize(function () { // ページをリサイズした時の処理
  var hSize = $(window).height();
  $(".full").height(hSize); // ブラウザの縦のサイズを取得