Code Templates: CSS

I tend to use templates for creating various pieces of code and decided to share some of the ones that I use most frequently.  This article will include templates related to CSS source code.

blank.css

This is my template for new *.css files in Dreamweaver. It is really minor, but I like to create a file, type in a CSS selector and start typing properties. I realize the use of an IDE, or any software that automatically closes braces would render this “template” useless, but that’s not the point.

{

}

 

minimal-reset.css

There’s much to be said about CSS Resets, but I’ve always been one to just do things on my own. Obviously, there’s lots of alternatives. I just feel like trying to tackle one that is tailored to how I code and also to have a reason to blog about something.

body
{
	margin: 0;
}

 

Leave a Reply

Your email address will not be published. Required fields are marked *