Skip to content

Commit

Permalink
chore: add zh-CN document (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoli799480165 authored Jan 10, 2024
1 parent 40dc783 commit f463ec0
Show file tree
Hide file tree
Showing 3 changed files with 765 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A lib for generating Style Sheets with C#.

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

![Latest Version](https://img.shields.io/github/actions/workflow/status/ant-design-blazor/CssInCsharp/package.yml?style=flat-square)
[![CssInCSharp](https://img.shields.io/nuget/v/CssInCSharp.svg?color=red&style=flat-square)](https://www.nuget.org/packages/CssInCsharp)
Expand Down
25 changes: 25 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# Table of Contents
- [Table of Contents](#table-of-contents)
- [Getting Started](#getting-started)
- [Install Package](#install-package)
- [Add Using](#add-using)
- [Create CSS Object](#create-css-object)
- [Usage](#usage)
- [Structured Stylesheet](#structured-stylesheet)
- [Parent Selectors](#parent-selectors)
- [Merge](#merge)
- [Reuse global styles](#reuse-global-styles)
- [Using merge operator](#using-merge-operator)
- [Overwrite existing styles](#overwrite-existing-styles)
- [Variables](#variables)
- [Retain CSS](#retain-css)
- [Functions](#functions)
- [Animation](#animation)
- [Colors](#colors)
- [Style Rendering](#style-rendering)
- [CSS Isolation](#css-isolation)
- [Custom Component Style](#custom-component-style)

# Getting Started

## Install Package
```sh
dotnet add package CssInCSharp
Expand Down Expand Up @@ -100,6 +124,7 @@ var css = new CSSObject
}
```

# Usage
## Structured Stylesheet

The stylesheet is structured, this is similar to less or sass.
Expand Down
Loading

0 comments on commit f463ec0

Please sign in to comment.