Click here to Skip to main content
15,867,453 members
Articles / Web Development / CSS
Tip/Trick

Handle CSS File with Visual Studio 2012

Rate me:
Please Sign up or sign in to vote.
3.00/5 (4 votes)
4 Dec 2013CPOL 11.9K   3   2
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)


Written By
Web Developer Southtech Limited
Bangladesh Bangladesh
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 1 Pin
Tarek Elqusi4-Dec-13 7:51
professionalTarek Elqusi4-Dec-13 7:51 
GeneralMy vote of 1 Pin
Adam R Harris4-Dec-13 6:40
Adam R Harris4-Dec-13 6:40 
D'Oh! | :doh:

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

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