LoginSignup
0
0

More than 1 year has passed since last update.

HTMLで文章を横三等分にする

Last updated at Posted at 2021-12-01

##文章を三等分にする方法
スクリーンショット 2021-12-01 144811.png

HTMLファイル
<div style="display: flex; gap: 20px;">

  <div style="width: calc(100% / 3);">
    <h1>
    タイトル1
    </h1>
    <P>
    テキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキスト
    </P>
  </div>
  
  <div style="width: calc(100% / 3);">
    <h1>
    タイトル2
    </h1>
    <P>
    テキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキスト
    </P>
  </div>

  <div style="width: calc(100% / 3);">
    <h1>
    タイトル3
    </h1>
    <P>
    テキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキスト
    </P>
  </div>

</div>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0