cssの「%」の挙動について動かせる図を用いて解説してある。paddingやmarginの挙動は知らなかった。とくにmargin-topでも親のwidthを参照している点など

nc44v-134-nvtyqfgqnc44v-134-nvtyqfgq のブックマーク 2020/08/06 10:48

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

What does 100% mean in CSS?

    Spoiler: it dependsOne of the CSS units I use most is the wonderful % — so handy for positioning elements on the page. Unfortunately, the rules aren’t exactly straightforward. One question I’m alwa...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう