Welcome Guys, Today in this video we are going to create our own CSS Snippets in VS Code

What is a snippet?

A snippet is a small section of text or source code that can be inserted into the code of a program or Web page. Snippets provide an easy way to implement commonly used code or functions into a larger section of code. Instead of rewriting the same code over and over again, a programmer can save the code as a snippet and simply drag and drop the snippet wherever it is needed. By using snippets, programmers and Web developers can also organize common code sections into categories, creating a cleaner development environment.

In this video, we have seen an example of snippet of CSS code.
Then we have created our own snippet in VS code to "Center the div" and for width and height.

Web design
Be the first to comment