Snippet for VS Code — CSS Media Query
1 min readJan 3, 2020
A super fast and convenient snippet for typing media queries in VS Code.
✅ CSS ✅ SASS ✅ SCSS
Add this snippet to your VS Code settings👇
How to add snippet
Windows: File > Preferences > User Snippets and then select css
Mac: Code > Preferences > User Snippets and then select css
Snippet Usage
- Type “@med” + Tab
- Enter your max-width + press Tab (i.e. “1500px”)
- Enter your selector + press Tab (i.e. “footer”)
- Enter your CSS-properties (i.e. “color:red;”)