2.0.1 • Published 2 years ago

style.init.css v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

INSTALL

npm install --save style.init.css
# OR
yarn add style.init.css

USAGE

// javascript
import 'style.init.css'

EXAMPLE

The style sheet contains some very commonly used but not easy to remember styles.

The sentence is too long with ellipsis

<p class="ellipsis">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Corporis quisquam quos sapiente, vitae repellat assumenda debitis tempora ipsum accusantium quod ut, sequi eum qui. Accusantium minima nostrum aspernatur veritatis iusto.</p>

When the above line of text cannot be displayed completely in one line, he will replace the excess part with an ellipsis.

You can even use ellipsis-1, ellipsis-2, ellipsis-3 and other class names to control the number of lines. When the text exceeds the specified number of lines, an ellipsis will be used at the end of the text to replace the undisplayable text. This range supports 1 to 10 rows. They correspond to the class names ellipsis-1 and ellipsis-10 respectively.

DESCRIPTION

  • This project adds some special browser compatible styles on the basis of normalize.css, such as x5 kernel browsers.
  • In addition, a little bit of beautification has been added to the style sheet, but not much, because style.init.css is used for projects that require a high degree of customization.
  • Good suggestions can be fed back to me at Issues, I'll be happy to adopt it.
  • Demo page: Style.init.css Demo

NOTICE

  • Some styles are for experience only, Compatibility is not ideal, for example: .ps-bg, .ant-line, etc.
2.0.1-beta.2

2 years ago

2.0.1-beta.3

2 years ago

2.0.1-beta.1

2 years ago

2.0.1

2 years ago

2.0.0

3 years ago

1.2.2

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago