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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <ul class="img_list01">
    <li class="img01"><img src="https://shu-naka-blog.com/wp-content/uploads/2020/02/img01-compressor-1-400x400.jpg" alt="画像01" width="150" height="150" class="alignnone size-medium wp-image-4616" /></li>
  
    <li class="img02"><img src="https://shu-naka-blog.com/wp-content/uploads/2020/02/img02-compressor-400x400.jpg" alt="画像02" width="150" height="150" class="alignnone size-medium wp-image-4618" /></li>
  
  
</ul>
              
            
!

CSS

              
                ul.img_list01 {
    text-align: center;
    overflow: hidden;
    margin: 30px 0;
}

ul.img_list01 li {
    margin: 0 10px;
    display: inline-block;
}

.img01 img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  -webkit-transition: all 0.3s
}

.img01 img:hover {
    width:150px;
    height:150px;
    border-radius:0px;
}

.img02 img {
  width: 150px;
  height: 150px;
  border-radius:0px;
  -webkit-transition: all 0.3s
}

.img02 img:hover {
    width:150px;
    height:150px;
    border-radius: 40% 40% 50% 40%/30% 50% 50% 50%;
}
              
            
!

JS

              
                
              
            
!
999px

Console