"Set Font Settings" : { "prefix": "font-family", "body": "'Outfit'", "description": "my first font!" }, "Set Font Settings 2" : { "prefix": "Young Serif", "body": "'Young Serif'" }, "Set Font Settings 3" : { "prefix": "Work Sans", "body": "'Work Sans'" }, "Center Div": { "prefix": "cd", "body":[ "display: flex;", "justify-content: center;", "align-items: center;"] }
This is my simple css.json file. I googled around about the possibility of customizing my snippets even more just like the built in snippets in vscode but I got seriously stuck.
I really feel umcomfortable about the fact I can apply any of those font settings to any property for example I would want to see that snippet only when I am inserting a font family property and not a display property.
Another thing is there a way to add icons just like the already ready snippets (For example color snippets) how can I do that?
Aziz Hmidi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.