Click here to Skip to main content
Click here to Skip to main content

Handle CSS File with Visual Studio 2012

, 4 Dec 2013
Rate this:
Please Sign up or sign in to vote.
How to handle CSS file with Visual Studio 2012


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

Using the Code

  1. You can make the regions:
    /* #region 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


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

About the Author

Abdur Rashid
Web Developer Southtech Limited
Bangladesh Bangladesh
No Biography provided

Comments and Discussions

GeneralMy vote of 1 [modified] PinmemberTarek Elqusi4-Dec-13 7:51 
GeneralMy vote of 1 PinmemberAdam R Harris4-Dec-13 6:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 4 Dec 2013
Article Copyright 2013 by Abdur Rashid
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid