Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add zh-CN document #20

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading