Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <div class="user-avatar">
  <img class="avatar-image" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCACWAJYDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFB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DuuRX+p3tn4xtLS5+0vb6krI7fNuIV49oXkDBKtjpjHFFFedTx1fC4uTw83G76bfdseZjM5x2X13LBVXC7V7PR+q2fzNbUv8Ag5M8K+H/ABTc3LfD7xdBFJaqxht9Tgx9pCn93kqP3ecfvPvDJ+TtXhH7Vn/Bxf8AEj9oTwlpek+DPDGl/Dx7e5FzcXslwmr3EpAZdieZCiIh3c5Vm4GCKKK+xxubYv6srTt6JL9D9YxvEeYrCKaq2bXZdvQ+Pv2nfib4z/ax8a2nivx5r51zVo7VbOA/Z44IreFSxCKkagAZYnJyTnk8Csr4G/s2xfFnxkuim9FpLJEnlSbcqGe4hiy3fAEpOB1IAyM5oor52nWqVa16km7n5u82xlZSq1ajctdX5I++vC3/AATM+Hvw98J200mmvqkiqqSXdzdu0kxOAcxKFQDPTaQR6mvDP2j/ANmrSfg/40j/ALMUpbyO6m3eZpVhdCM7GYbipyOGyRg8nPBRX0Oa4WjCk3GKR8BiMXXlOnKU2+ZO+v8AVvkc/wCEr678G6/p+qaXcNZX+mXMd1byxqCUkRgwOCCDyPSuzk+LOsax8VbrxhquoXkuuXrb5L2BhFMj/KFZduMYCgcY4/UorxcuqSjKNn1T+Z9PkGKq0sZRcJWtKL+Z6h4D/ay1j4Q6heLJvK6lEYpJ7UKHKSEbt0bDy2JIzwFPHJNZXxW/aW1uPUruHRppYIRdOtrNOcyqpYKpKjKqeM8Zx6miivtIYenOs3JH9g+3qRpKz3RwnhPw7dfEb7VdarfzXjXDiR3mJZ3cZAJJ9mP5/gCiivw3O8XWrY6pKpJ3vbtovQ/njNszxU8ZUcp9fI//2Q==" />
</div>
              
            
!

CSS

              
                .user-avatar {
  border-radius: 50%;
  height: 64px;
  width: 64px;
  border: 1px solid #ddd;
  padding: 5px;
}
.avatar-image {
  border-radius: 50%;
  height: 100%;
  width: 100%;
  object-fit: cover; /*按图片原有尺寸比例来裁剪*/
}
              
            
!

JS

              
                
              
            
!
999px

Console