📌  相关文章
📜  camsis-fonts (1)

📅  最后修改于: 2023-12-03 14:40:01.151000             🧑  作者: Mango

CAMSIS-Fonts

CAMSIS-Fonts is a collection of font icons that can be used in web applications, desktop applications, mobile applications and other software development projects. These icons can be used to signify different actions, entities, and objects, and are easy to integrate into any project.

Installation

The CAMSIS-Fonts library can be installed using a number of package managers, including npm and bower.

NPM
npm install camsis-fonts --save
Bower
bower install camsis-fonts --save
Usage

To use the CAMSIS-Fonts library, you need to include the font files and the CSS file in your project.

HTML

In the head section of your HTML file, include the following code:

<link rel="stylesheet" href="path/to/camsis-fonts.css">
CSS

In your CSS file, you can use any of the icons defined in the CAMSIS-Fonts library by setting the font-family property to 'camsis', followed by the corresponding class name. For example:

.my-icon {
  font-family: 'camsis';
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
  color: #333;
}

.my-icon:before {
  content: "\e001";
}
Icon List

You can find the full list of available icons in the CAMSIS-Fonts library in the camsis-fonts.css file. Each icon is represented by a CSS class that starts with camsis-, followed by the icon name. For example, the icon for a user is represented by the class camsis-user.

License

CAMSIS-Fonts is licensed under the MIT license. You are free to use, modify, and distribute this library, as long as you include the original copyright and license notices.