0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

プログラミング学習記録 Day3

Last updated at Posted at 2020-08-20

今日の学習時間

1.5h(トータル5.0h)

今日の学習内容

デイトラ初級編DAY7 ゼロからサイトを作ってみよう③

画像の上に文字を載せよう!とのことだったので、まずはレッスン動画を見ずに自力でコーディングし、その後動画を見て答え合わせをしました。
結果、見た目はほぼ同じようにコーディングすることができました!

お手本との相違

  • topセクションをdiv.containerで囲んでいなかった
  • top-titleにpadding-top、top-subtitleにpadding-bottomをつけていたが、topそのものに上下のpaddingを入れればOKだった

レスポンシブ対応
768pxタブレットのmaxサイズなのでmax-width:767pxがスマホ版となる

float:noneでfloat解除

screencapture-file-Users-oyamadahayu-Desktop-practice-index-html-2020-08-20-08_43_19.png

screencapture-file-Users-oyamadahayu-Desktop-practice-index-html-2020-08-20-09_16_19.png

PC版と、レスポンシブ対応したスマホ版サイトが完成!
明日からは復習としてゼロから自力でコーディングしていきます。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?