Flexbox snippet for VSCode. Setup this on the CSS lang so it is available in styled-components etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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