STYLE / 111

Editorial contrast

書体にコントラストをつける
明朝系の大きな文字と、小さなラベルを組み合わせます。

実際のHTML・CSSで描かれた見本です。

ラボで詳しく試す ↗

ひとつ試すなら

文字の強弱で読む順番をつくる

こんなときに

雑誌のような読み物や、作品紹介。

仕組みと使い方

書体の対比に加えて、大きさや余白の差も効きます。

エディトリアルeditorial雑誌セリフ
実装コードを見る
<style>
.sample{width:100%;height:100%;min-height:190px;display:grid;place-items:center;position:relative;overflow:hidden;box-sizing:border-box;font-family:Arial,'Hiragino Kaku Gothic ProN',Meiryo,sans-serif;color:#20211d;background:#f1f0e9;padding:22px}.sample *{box-sizing:border-box}.sample button,.sample input,.sample summary{font:inherit}.sample button,.sample summary,.sample label{touch-action:manipulation}.sample :focus-visible{outline:3px solid #6050bf;outline-offset:5px}.sample small{font-size:10px;line-height:1.5}.sample .editable{margin:0}.sample svg{max-width:100%;height:auto}
.sample{background:#e8dfcf}.sample .poster{width:220px}.sample small{display:block;font:8px Arial;letter-spacing:.22em;border-bottom:1px solid #222;padding-bottom:9px}.sample b{font:italic 42px Georgia,serif;line-height:.95;display:block;letter-spacing:-.04em;margin-top:14px}.sample p{font:9px Arial;margin:13px 0 0}
</style>
<div class="sample">
<div class="poster"><small>THE EXPRESSION ISSUE</small><b class="editable">A good<br>feeling.</b><p>No. 04 — Notes on the web</p></div>
</div>