展示

This is a static template, there is no bundler or bundling involved!

代码

CSS代码:

.container {
    resize: horizontal;
    overflow: auto;
    font-size: 20px;
    container-type: inline-size;
    container-name: sidebar;
  }

  @container sidebar (max-width: 400px) {
    p {
      font-size: 14px;
      color: red;
    }
  }

HTML代码:

<div class="container">
  <p>This is a static template, there is no bundler or bundling involved!</p>
</div>