f323_w
Last Updated: February 25, 2016
·
648
· duiker101

Visual Studio CSS Regions

If you are a heavy Visual Studio user for web development you should already know that it's possible to use regions in javascript file just by doing this.

//#region SomeCode
var foo = "moo";
//#endregion

What you might not know is that you can apply the same principle to CSS file and get regions by doing:

/*#region Header */
header{
    background-color:#0f0;
}
/*#endregion */

Tested in VS2012