Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / web / CSS

Handle CSS File with Visual Studio 2012

3.00/5 (4 votes)
4 Dec 2013CPOL 12.5K  
How to handle CSS file with Visual Studio 2012

Introduction

This short tip will show you how to handle CSS file with Visual Studio 2012.

Using the Code

  1. You can make the regions:
    CSS
    /* #region Header */
    
    #header
    {
        width: 100%;
        height:  90px;
    }
    
    /* #endregion */
  2. You can use some shortcuts to collapse, expand, etc.
    • To collapse all: CTRL + M + O
    • To expand all: CTRL + M + L
    • To collapse/expand the current selection: CTRL + M + M
    • To expand all & disable outlining: CTRL + M + P

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)