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

              
                <style>
  .ax_post_box-comment-text-inner img {
    max-width: 100%;
  }
</style>
<div class="page flex-col" style="background-image: linear-gradient(to bottom, #7877F9, #3E3DA8);">
  <div class="box_3 flex-col" style="
  display: flex;
  width: 100%;
  height: 206px;
  background: #3E3DA8;
  background-size: auto 100%;
  background-image: linear-gradient(to bottom, rgba(62,61,168,0) 0%,rgba(62,61,168, 0.1) 80%,rgba(62,61,168,1) 100%),url(&quot;https://bu.dusays.com/2023/09/22/650d668578553.png&quot;);
  background-position: center;
  top: 0;
  left: 0;
  border-radius: 15px 15px 15px 15px;
"><div class="section_1 flex-col" style="
  background-image: url(&quot;https://bu.dusays.com/2023/09/22/650d5b6ec9ab7.png&quot;);
  width: 152px;
  height: 152px;
  display: flex;
  margin: 130px auto;
  background-size: cover;
"></div></div>
  <div class="box_4 flex-col" style="
  margin-top: 92px;
">
    <div class="text-group_5 flex-col justify-between" style="
  display: grid;
  margin: 0 20px;
  text-align: center;
">
      <span class="text_1" style="
  font-size: 26px;
  font-family: PingFang-SC-Bold, PingFang-SC;
  font-weight: bold;
  color: #F3E6FF;
  line-height: 37px;
  text-align: center;
  width: 100%;
">嘿!你在&nbsp;${SITE_NAME}&nbsp;博客中收到一条新回复。</span>
      <span class="text_2" style="
  font-size: 16px;
  font-family: PingFang-SC-Bold, PingFang-SC;
  font-weight: bold;
  color: #FEB3B1;
  line-height: 22px;
  margin-top: 21px;
  text-align: center;
  width: 100%;
">你之前的评论&nbsp;在&nbsp;${SITE_NAME} 博客中收到来自&nbsp;${NICK}&nbsp;(${MAIL})&nbsp;的回复</span>
    </div>
    <div class="box_2 flex-row" style="
  margin: 0 auto;
  min-height: 128px;
  background: #F3E6FF;
  border-radius: 12px;
  margin-top: 34px;
  display: grid;
  padding: 3px 16px 32px 16px;
  width: 85%;
">
      
      <div class="text-wrapper_4 flex-col justify-between" style="
  display: flex;
  width: 100%;
  margin: auto;                                                   
  margin-bottom: 16px;
">
      <div style="
  width: 100%;
  padding:15px 12px 0 12px;
  margin-top:0px
">
      <div class=Messages_box>
      <p style="
  font-size: 20px;
  display:flex;
  color:#3E3DA8;
"><strong style="
  font-size: 45px;
  color:#F3E6FF;
  max-width:506px;
  background-color:#7877F9; 
  padding:3px 10% 4px 10%;
  border-radius:9px;
  margin: 0 auto;
">📫博主收件箱</strong></p>
      <hr style="
    display: flex;
    border: 2px dashed #3E3DA8;
    box-sizing: content-box;
    height: 0px;
    overflow: visible;
    width: 90%;
">
      <p style="
  font-size: 20px;
  display:flex;
  color:#3E3DA8
"><strong style="
  margin: 0px auto;
  font-size: 10px;
  color:#F3E6FF;
  max-width:506px;
  background-color:#7877F980; 
  padding:3px 60px 4px 60px;
  border-radius:9px
">新消息</strong></p>
      <p><strong style="
  font-size: 20px;
  color:#3E3DA8"
  >${NICK}</strong><strong style="
  color:#E25860;
"> :</strong></p>
      <div class="ax_post_box-comments-single Messages-user" style="
  display:flex;
  margin-bottom:5px;
  margin-top:7px;
  color:#FEB3B1
">
      <div class=ax_post_box-comment-avatar style="
  width:auto;
  flex:none
"><img src=${IMG}
        style="
  width:40px;
  height:40px;
  border-radius:5px
"></div>
      <div class=ax_post_box-comment-text style="
  margin-left:10px;
  display: flex;
"><span
        class=ax_post_box-comment-text-before
        style="
  width:0;
  height:0;
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
  border-right:8px solid;
  border-right-color:#3E3DA8;
  left:-7px;
  right:auto;
  margin-top:12px;
"></span>
      <div class=ax_post_box-comment-text-inner style="
  max-width:506px;
  background-color:#3E3DA8;
  padding:10px;
  border-radius:9px;
  margin-bottom:3px;
  width:auto;
">${COMMENT}</div></div></div></div></div></div>

      <a class="text-wrapper_2 flex-col" style="
  min-width: 106px;
  height: 38px;
  background: #7877F9;
  border-radius: 32px;
  display: flex;
  text-decoration: none;
  margin: auto;
  margin-top: 32px;
" href="${POST_URL}">
        <span class="text_5" style="
  color: #F3E6FF;
  margin: auto;
">查看详情</span>
      </a>
    </div>
    <div class="text-group_6 flex-col justify-between" style="
  display: grid;
  text-align: center;
  margin-top: 34px;
">
      <span class="text_6" style="
  height: 17px;
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #f3e6ff8e;
  line-height: 17px;
  width: 100%;
">此邮件由评论服务自动发出,直接回复无效。</span>
      <a class="text_7" style="
  height: 17px;
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #FEB3B1;
  line-height: 17px;
  margin-top: 6px;
  text-decoration: none;
  width: 100%;
" href="${SITE_URL}">前往博客</a>
      <a class="text_8" style="
  height: 17px;
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #f3e6ff8e;
  line-height: 17px;
  margin-top: 6px;
  text-decoration: none;
 "></a>
    </div>
  </div>
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console