File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ title: CSS
33---
44
55import { Sandpack } from " @codesandbox/sandpack-react" ;
6- import firstCssHtml from " !!raw-loader!./_samples/first-css/index.html" ;
7- import redHelloWorldHtml from " !!raw-loader!./_samples/red-hello-world/index.html" ;
8- import redHelloWorldCss from " !!raw-loader!./_samples/red-hello-world/style.css" ;
96import yellowHelloCssHtml from " !!raw-loader!./_samples/yellow-hello-css/index.html" ;
107import yellowHelloCssCss from " !!raw-loader!./_samples/yellow-hello-css/style.css" ;
118import fooHtml from " !!raw-loader!./_samples/foo/index.html" ;
@@ -23,16 +20,6 @@ import fooHtml from "!!raw-loader!./_samples/foo/index.html";
2320<div style =" color : red ; font-size : 24px ;" >Hello World!</div >
2421```
2522
26- <Sandpack
27- template = " static"
28- files = { {
29- " /index.html" : firstCssHtml ,
30- }}
31- options = { {
32- activeFile: " /index.html" ,
33- }}
34- />
35-
3623![ Hello World!] ( ./red-hello-world.png )
3724
3825{ /* prettier-ignore */ }
@@ -76,17 +63,6 @@ import fooHtml from "!!raw-loader!./_samples/foo/index.html";
7663}
7764```
7865
79- <Sandpack
80- template = " static"
81- files = { {
82- " /index.html" : redHelloWorldHtml ,
83- " /style.css" : redHelloWorldCss ,
84- }}
85- options = { {
86- activeFile: " /index.html" ,
87- }}
88- />
89-
9066### ` link ` 要素
9167
9268``` html title="index.html"
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import answerWhileHtml from "!!raw-loader!./_samples/answer-while/index.html";
88import answerWhileJs from " !!raw-loader!./_samples/answer-while/script.js" ;
99import answerForHtml from " !!raw-loader!./_samples/answer-for/index.html" ;
1010import answerForJs from " !!raw-loader!./_samples/answer-for/script.js" ;
11- import nestedLoopHtml from " !!raw-loader!./_samples/nested-loop/index.html" ;
12- import nestedLoopJs from " !!raw-loader!./_samples/nested-loop/script.js" ;
1311import productHtml from " !!raw-loader!./_samples/product/index.html" ;
1412import productJs from " !!raw-loader!./_samples/product/script.js" ;
1513import productAltHtml from " !!raw-loader!./_samples/product-alt/index.html" ;
@@ -149,16 +147,6 @@ for (let x = 0; x < 5; x += 1) {
149147}
150148```
151149
152- <Sandpack
153- template = " static"
154- files = { {
155- " /index.html" : nestedLoopHtml ,
156- " /script.js" : nestedLoopJs ,
157- }}
158- options = { {
159- activeFile: " /script.js" ,
160- }}
161- />
162150
163151:::tip[ テンプレートリテラル]
164152
You can’t perform that action at this time.
0 commit comments