@master/css 1.16.5 → 1.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -22
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,42 +22,58 @@
|
|
|
22
22
|
|
|
23
23
|

|
|
24
24
|
|
|
25
|
+
Documentation
|
|
25
26
|
- [Introduction](https://css.master.co)
|
|
26
27
|
- [Setup](https://docs.master.co/css/setup)
|
|
27
28
|
- [Why](https://docs.master.co/css/why)
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
30
|
+
Community
|
|
31
|
+
- [Github Discussions](https://github.com/master-co/css/discussions)
|
|
32
|
+
- [Join Master Discord](https://discord.gg/sZNKpAAAw6)
|
|
33
|
+
|
|
34
|
+
Extension
|
|
35
|
+
- A [Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=masterco.master-css-language-service) for Master CSS. Provides code-completion and syntax highlighting.
|
|
36
|
+
|
|
37
|
+
On this page
|
|
38
|
+
- [Quick Start](#quick-start)
|
|
39
|
+
- [1. Download](#1-download)
|
|
40
|
+
- [2. Import into your js file](#2-import-into-your-js-file)
|
|
41
|
+
- [Hello World](#hello-world)
|
|
42
|
+
- [Official Normal CSS](#official-normal-css)
|
|
43
|
+
|
|
44
|
+
# Quick Start
|
|
45
|
+
This is just a quick start guide, the official [documentation](https://docs.master.co/styles/setup) here.
|
|
46
|
+
|
|
47
|
+
## 1. Download
|
|
48
|
+
```shell
|
|
49
|
+
npm install @master/css
|
|
43
50
|
```
|
|
44
|
-
|
|
51
|
+
Or use a CDN
|
|
45
52
|
```html
|
|
46
|
-
<link href="https://cdn.jsdelivr.net/npm/@master/normal.css" rel="stylesheet">
|
|
47
53
|
<script src="https://cdn.jsdelivr.net/npm/@master/css"></script>
|
|
48
54
|
```
|
|
49
55
|
|
|
56
|
+
## 2. Import into your js file
|
|
57
|
+
```js
|
|
58
|
+
import '@master/css'
|
|
59
|
+
```
|
|
60
|
+
|
|
50
61
|
## Hello World
|
|
51
62
|
```html
|
|
52
63
|
<h1 class="font:40 font:heavy bg:blue:hover m:50 text:center@md">
|
|
53
64
|
Hello World
|
|
54
65
|
</h1>
|
|
55
66
|
```
|
|
67
|
+
Next, learn the common [Syntax - Master CSS](https://docs.master.co/styles/syntax)!
|
|
56
68
|
|
|
57
|
-
#
|
|
58
|
-
|
|
59
|
-
- [Join Master Discord](https://discord.gg/sZNKpAAAw6)
|
|
60
|
-
|
|
61
|
-
# Language Service
|
|
69
|
+
# Official Normal CSS
|
|
70
|
+
Normalize browser's styles: [`@master/normal.css`](https://github.com/master-co/normal.css)
|
|
62
71
|
|
|
63
|
-
|
|
72
|
+
import `@master/normal.css` into your global css file
|
|
73
|
+
```css
|
|
74
|
+
@import '@master/normal.css';
|
|
75
|
+
```
|
|
76
|
+
or use a CDN
|
|
77
|
+
```html
|
|
78
|
+
<link href="https://cdn.jsdelivr.net/npm/@master/normal.css" rel="stylesheet">
|
|
79
|
+
```
|
package/package.json
CHANGED