Pen Settings



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


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.


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.




GOOD/BAD List-box
.good li:before, .good .box-title:before, .bad li:before, .bad .box-title:before {
    font-family: "Font Awesome 5 Free";
/* BOX上下のスペースを調整 */
.good, .bad {
  margin: 16px 0 24px;
/* 枠線の色と形を変更 */
.good {
    border: 3px solid #56c95a;/* 枠線の色を変更 */
    border-radius: 8px;/* 枠の丸みを調整 */
.bad {
    border: 3px solid #ed8583;
    border-radius: 8px;
/* タイトル部分の調整 */
.good .box-title, .bad .box-title {
    display: inline-block;
    position: relative;
    border-radius: 8px 0 8px 0;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
    top: -1px;
    left: -1px;
    padding: 2px 9px;
/* タイトルのアイコンを調整 */
.good .box-title:before, .bad .box-title:before {
    margin-right: 10px;/
    font-size: 20px;/* アイコンの大きさを変更 */
/* タイトル部分の背景色を変更 */
.good .box-title {
    background: #56c95a;/* タイトル部分の色を変更 */
.bad .box-title {
    background: #ed8583;
/* タイトルのアイコンを変更 */
.good .box-title:before {
    content: "\f599";/* アイコンの種類を指定 */
.bad .box-title:before {
    content: "\f119";
/* ボックス内を調整 */
.good .box-content, .bad .box-content {
    padding: 10px;
/* リスト内を調整 */
.good ul, .bad ul {
    list-style: none;/* ドットを非表示にする */
    padding: 0 15px 0 40px;
/* 行間を調整 */
.good li, .bad li {
    padding: 5px 0;
/* 文言の調整 */
.good li:before, .bad li:before {
    margin-left: -20px;
    margin-right: 10px;
    font-size: 13px;
/* リストアイコンを変更 */
.good li:before {
    content: "\f164";/* アイコンの種類を指定 */
    color: #56c95a;/* アイコンの色を指定 */
.bad li:before {
    content: "\f165";
    color: #ed8583;