Warning: include_once(analytics.inc): failed to open stream: No such file or directory in /home/mina/www/minatoya/sample/css/18/index.html on line 13

Warning: include_once(): Failed opening 'analytics.inc' for inclusion (include_path='.:/usr/local/php/5.4.22/lib/php:./../../../../lab/sample/common/include/') in /home/mina/www/minatoya/sample/css/18/index.html on line 13

rem(ルートエム)の実験サンプル

html{ font-size: 62.5%; }
body{ font-size: 1.6em; }

emの場合

こんな感じ
pに対しfont-size: 1em;

pxの場合

こんな感じ
pに対しfont-size: 16px;

remの場合

こんな感じ
pに対しfont-size: 1rem;