diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-06 12:06:27 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-06 12:06:27 +0800 |
commit | 1b37f7d7f1554f4ef4cd185c1181d54d9956b1db (patch) | |
tree | 54057c5cee90f3a93b240d77828f14f90af8c93f /snippets/css_html_showcase | |
parent | a9386c536189f2aaf38c9e2ba674a096657ca366 (diff) |
Update
Diffstat (limited to 'snippets/css_html_showcase')
-rw-r--r-- | snippets/css_html_showcase | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/snippets/css_html_showcase b/snippets/css_html_showcase new file mode 100644 index 0000000..2941cc1 --- /dev/null +++ b/snippets/css_html_showcase | |||
@@ -0,0 +1,32 @@ | |||
1 | <div style="display: flex; align-items: center; flex-direction: row !important;"> | ||
2 | <pre> | ||
3 | { | ||
4 | use: mapX | ||
5 | width: 300px | ||
6 | height: 400px | ||
7 | center: Taiwan | ||
8 | } | ||
9 | </pre> | ||
10 | <pre> | ||
11 | => | ||
12 | </pre> | ||
13 | |||
14 | ```map | ||
15 | use: Maplibre | ||
16 | width: 300px | ||
17 | height: 400px | ||
18 | center: [121,24] | ||
19 | zoom: 6 | ||
20 | ``` | ||
21 | |||
22 | |||
23 | |||
24 | </div> | ||
25 | |||
26 | <style> | ||
27 | pre { | ||
28 | font-size: 2rem; | ||
29 | font-weight: 700; | ||
30 | line-height: 1.9; | ||
31 | } | ||
32 | </style> | ||