summaryrefslogtreecommitdiff
path: root/preact/demo/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'preact/demo/style.css')
-rw-r--r--preact/demo/style.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/preact/demo/style.css b/preact/demo/style.css
new file mode 100644
index 0000000..52f0b34
--- /dev/null
+++ b/preact/demo/style.css
@@ -0,0 +1,24 @@
+html, body {
+ font: 14px system-ui, sans-serif;
+}
+.list {
+ list-style: none;
+ padding: 0;
+}
+.list > li {
+ position: relative;
+ padding: 5px 10px;
+ animation: fadeIn 1s ease;
+}
+@keyframes fadeIn {
+ 0% {
+ box-shadow: inset 0 0 2px 2px red,
+ 0 0 2px 2px red;
+ }
+}
+.list > .odd {
+ background-color: #def;
+}
+.list > .even {
+ background-color: #fed;
+}