diff options
Diffstat (limited to 'demos/simple-react')
-rw-r--r-- | demos/simple-react/index.html | 4 | ||||
-rw-r--r-- | demos/simple-react/src/button.css | 15 | ||||
-rw-r--r-- | demos/simple-react/src/index.css | 2 |
3 files changed, 10 insertions, 11 deletions
diff --git a/demos/simple-react/index.html b/demos/simple-react/index.html index 0d1277743..3e227399a 100644 --- a/demos/simple-react/index.html +++ b/demos/simple-react/index.html @@ -1,8 +1,8 @@ <!DOCTYPE html> <html> <head> - <link rel="stylesheet" href="../src/index.css" /> - <script async src="../src/index.tsx" type="module"></script> + <link rel="stylesheet" href="src/index.css" /> + <script async src="src/index.tsx" type="module"></script> </head> <body> <div id="reactroot"></div> diff --git a/demos/simple-react/src/button.css b/demos/simple-react/src/button.css index 6940cffb3..15cca59e0 100644 --- a/demos/simple-react/src/button.css +++ b/demos/simple-react/src/button.css @@ -1,21 +1,20 @@ body { - background-color: yellow; + background-color: green; + border: 10px solid pink; + color: pink; + box-shadow: 10px 10px 32px red; } body { - background-color: yellow; + background-color: blue; } body { - background-color: yellow; + background-color: aliceblue; } body { - background-color: yellow; -} - -body { - background-color: yellow; + background-color: red; } body { diff --git a/demos/simple-react/src/index.css b/demos/simple-react/src/index.css index e1bfbb825..cbcf1e654 100644 --- a/demos/simple-react/src/index.css +++ b/demos/simple-react/src/index.css @@ -1,5 +1,5 @@ @import "./button.css"; body { - background-color: pink; + background-color: orange; } |