Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Reset CSS SnippetNew to Visual Studio Code? Get it now.
Reset CSS Snippet

Reset CSS Snippet

Novan Crow

|
3 installs
| (0) | Free
Quickly insert my reset CSS code by typing 'resetcss'
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

reset-css

A small Visual Studio Code extension to quickly insert a modern CSS reset into your project files or clipboard. Useful when you want a consistent baseline for new styles or templates.

Features

  • Insert a lightweight, modern CSS reset into the active editor with a single command.
  • Copy the reset to clipboard for pasting into other tools or templates.
  • Optional settings to control which reset variant is used (minimal or extended).

Quick Demo

  1. Open or create a CSS file in VS Code.
  2. Run the command "Insert Reset CSS" from the Command Palette (Ctrl+Shift+P).
  3. The reset stylesheet will be inserted at the cursor position.

You can also run "Copy Reset CSS" to copy the same content to your clipboard.

Installation

  1. Install the extension from the VS Code Marketplace or load it locally in development mode.
  2. Reload VS Code if required.

Usage

Commands provided by this extension:

  • reset-css.insertReset — Insert the chosen reset stylesheet into the active editor.
  • reset-css.copyReset — Copy the chosen reset stylesheet to the clipboard.

Example: Open the Command Palette (Ctrl+Shift+P) and type Insert Reset CSS.

Settings

This extension contributes the following settings (add to your settings.json):

  • reset-css.variant (string) — Which reset to use. Allowed values: minimal (default), extended.
  • reset-css.insertAtTop (boolean) — If true, insertion is forced at the top of the file; otherwise uses cursor position. Default: false.

Example settings:

"reset-css.variant": "minimal",
"reset-css.insertAtTop": false

Release Notes

1.0.0

Initial release: insert and copy reset CSS commands with minimal and extended variants.

1.1.0

Added insertAtTop setting and improved clipboard handling.

Contributing

Contributions are welcome. To get started:

  1. Fork the repository and create a feature branch.
  2. Run the extension in the VS Code Extension Development Host.
  3. Open a pull request with a short description of your change.

Please follow the project's coding conventions and include tests for new functionality where applicable.

License

This project is licensed under the MIT License — see the LICENSE file for details.

Contact

If you have questions or issues, open an issue on the repository or contact the maintainer.

Enjoy!

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