diff --git a/docs/index.html b/docs/index.html index 9b1d60c..9c79817 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,6 +5,12 @@ +

イタリア風

+
+
+
+
+

My Web Start on 2020

見たいの? この段落をクリックして保持

じゅげむじゅげむごこうのすりきれ

diff --git a/docs/main.css b/docs/main.css index 452e54d..c41c09b 100644 --- a/docs/main.css +++ b/docs/main.css @@ -10,3 +10,18 @@ p.iwantosee:active + p.hide {display: block;} p.hide {display: none;} + + +div.italy { /* 外枠のスタイル 18ex×12ex 背景は白 */ + background: white; + border: 1px solid black; width: 18ex; height: 12ex; +} +div.red { /* 内側で position:relative で相対座標を指定する */ + background: red; + position: relative; left: 12ex; height: 12ex; width: 6ex; +} +div.green { + background: green; + position: relative; left: ???; height: ????; width: ???; +} +