Skip to content

Instantly share code, notes, and snippets.

@lopezjurip
Created May 22, 2020 19:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lopezjurip/6f178fb5d909ef0237ab4bfd66f7951d to your computer and use it in GitHub Desktop.
Flexbox snippet for VSCode. Setup this on the CSS lang so it is available in styled-components etc.
{
"Setup basic flexbox styling": {
"prefix": "flex",
"body": [
"display: flex;",
"flex-direction: ${1:column};",
"justify-content: ${2:flex-start};",
"align-items: ${3:flex-start};",
"$0"
],
"description": "I use this a lot",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment