Skip to content

Commit f463ec0

Browse files
chore: add zh-CN document (#20)
1 parent 40dc783 commit f463ec0

File tree

3 files changed

+765
-1
lines changed

3 files changed

+765
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A lib for generating Style Sheets with C#.
44

5-
For documentation see our [docs](./docs/index.md).
5+
[English](./docs/index.md) | [简体中文](./docs/index.zh-CN.md)
66

77
![Latest Version](https://img.shields.io/github/actions/workflow/status/ant-design-blazor/CssInCsharp/package.yml?style=flat-square)
88
[![CssInCSharp](https://img.shields.io/nuget/v/CssInCSharp.svg?color=red&style=flat-square)](https://www.nuget.org/packages/CssInCsharp)

docs/index.md

+25
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# Table of Contents
2+
- [Table of Contents](#table-of-contents)
3+
- [Getting Started](#getting-started)
4+
- [Install Package](#install-package)
5+
- [Add Using](#add-using)
6+
- [Create CSS Object](#create-css-object)
7+
- [Usage](#usage)
8+
- [Structured Stylesheet](#structured-stylesheet)
9+
- [Parent Selectors](#parent-selectors)
10+
- [Merge](#merge)
11+
- [Reuse global styles](#reuse-global-styles)
12+
- [Using merge operator](#using-merge-operator)
13+
- [Overwrite existing styles](#overwrite-existing-styles)
14+
- [Variables](#variables)
15+
- [Retain CSS](#retain-css)
16+
- [Functions](#functions)
17+
- [Animation](#animation)
18+
- [Colors](#colors)
19+
- [Style Rendering](#style-rendering)
20+
- [CSS Isolation](#css-isolation)
21+
- [Custom Component Style](#custom-component-style)
22+
23+
# Getting Started
24+
125
## Install Package
226
```sh
327
dotnet add package CssInCSharp
@@ -100,6 +124,7 @@ var css = new CSSObject
100124
}
101125
```
102126

127+
# Usage
103128
## Structured Stylesheet
104129

105130
The stylesheet is structured, this is similar to less or sass.

0 commit comments

Comments
 (0)