Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>CSS Grid SnippetsNew to Visual Studio Code? Get it now.
CSS Grid Snippets

CSS Grid Snippets

ohansemmanuel

|
112,922 installs
| (1) | Free
Code snippets for the CSS Grid layout
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

css-grid-snippets README

Simple extension that adds CSS Grid snippets to VS Code 👏 👏

snippets gif

Usage

Snippet Purpose
dg display: grid
dig display: inline-grid
gtr grid-template-rows: - - -
gtc grid-template-columns: - - -
gta grid-template-areas: - - -
gg grid-gap: - - -
grp grid-row-gap: - - -
gcp grid-column-gap: - - -
grs grid-row-start: - - -
gre grid-row-end: - - -
gr grid-row: - - -
gcs grid-column-start: - - -
gce grid-column-end: - - -
gc grid-column: - - -
ga grid-area: - - -
gaf grid-auto-flow - - -
gar grid-auto-rows - - -
gac grid-auto-columns - - -

Installation

  1. Install Visual Studio Code 1.8.0 or higher
  2. Launch Code
  3. From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  4. Select Install Extension
  5. Choose the extension
  6. Reload Visual Studio Code

Enjoy! 😘 😘

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