File tree Expand file tree Collapse file tree 3 files changed +0
-64
lines changed
docs/1-trial-session/03-css Expand file tree Collapse file tree 3 files changed +0
-64
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -142,47 +142,3 @@ HTMLファイルとCSSファイルを分けて作成する場合、`style`属性
1421422 . ` .bar button `
143143
144144</Answer >
145-
146- ## 演習問題3(発展)
147-
148- 画像のようなシンプルなボックスを作ってみましょう。
149-
150- ![ シンプルなボックス] ( ./rounded-box-with-shadow.png )
151-
152- シンプルで、よく見かけるデザインですが、様々な指定が必要であることが分かります。次のような点に注意してデザインしてみてください。
153-
154- - グレーの枠線が付いています (border)
155- - 枠線は角丸になっています (border-radius)
156- - 枠線の外側に余白があります (margin)
157- - 枠線の内側にも余白があります (padding)
158- - ボックスに影がついています (box-shadow)
159-
160- <Answer title = " シンプルなボックス" >
161-
162- ``` html title="index.html"
163- <!doctype html>
164- <html lang =" ja" >
165- <head >
166- <meta charset =" utf-8" />
167- <link rel =" stylesheet" href =" ./style.css" />
168- <title >Title</title >
169- </head >
170- <body >
171- <div id =" foo" >Foo</div >
172- </body >
173- </html >
174- ```
175-
176- ``` css title="style.css"
177- #foo {
178- border : 1px solid #aaa ;
179- border-radius : 10px ;
180- margin : 30px ;
181- padding : 30px ;
182- box-shadow : 0px 0px 2px 1px #aaa ;
183- }
184- ```
185-
186- <ViewSource url = { import .meta .url } path = " _samples/foo" />
187-
188- </Answer >
You can’t perform that action at this time.
0 commit comments