Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>cssmineNew to Visual Studio Code? Get it now.
cssmine

cssmine

mwgeng

|
53 installs
| (0) | Free
prefix for fast css
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cssmine README

自用css快捷输入指令。

Features

{
  "flex-center": {
    "prefix": ["fc", "flex", "flexcenter"],
    "body": "display: flex;\njustify-content: center;\nalign-items: center;",
    "description": "flex-center"
  },
  "text-overflow": {
    "prefix": ["textoverflow", "text", "to"],
    "body": "overflow: hidden;\ntext-overflow: ellipsis;\nwhite-space: nowrap;",
    "description": "flex-center"
  },
  "text-overflow-multiline": {
    "prefix": ["textoverflow", "text", "tom"],
    "body": "display: -webkit-box;\noverflow: hidden;\ntext-overflow: ellipsis;\n-webkit-line-clamp: 2;\n-webkit-box-orient: vertical;",
    "description": "flex-center"
  },
  "hidden-scrollbar": {
    "prefix": ["scrollbar", "hiddenscrollbar", "hs"],
    "body": "-webkit-overflow-scrolling: touch;\n&::-webkit-scrollbar {\n  display: none;\n}",
    "description": "flex-center"
  }
}

Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.

Requirements

If you have any requirements or dependencies, add a section describing those and how to install and configure them.

Extension Settings

Include if your extension adds any VS Code settings through the contributes.configuration extension point.

For example:

This extension contributes the following settings:

  • myExtension.enable: Enable/disable this extension.
  • myExtension.thing: Set to blah to do something.

Known Issues

Calling out known issues can help limit users opening duplicate issues against your extension.

Release Notes

Users appreciate release notes as you update your extension.

1.0.0

Initial release of ...

1.0.1

Fixed issue #.

1.1.0

Added features X, Y, and Z.


Working with Markdown

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft