Might seem backward and a bit annoying with the recent flood of custom CSS frameworks but it actually makes sense. A lot of CSS frameworks are built for others and include stuff you may never use. For example, how often do you run across the need to have 10 different styles for tables? Especially when it comes to prototyping? What about breadcrumbs? Badges? Circular images? 5 other JS plugins?

Creating your own CSS framework comes with a purpose and it should not be taken lightly. You’re not here to flush 10 hours down the drain. You’re here to:

help yourself by creating a framework that matches more closely your own design style. While Bootstrap is a great base, it’s generic and cannot match your own work well enough

tailor specific CSS to your needs. If you need specific elements (like footers, widgets, comments, feeds etc.), you’d have to find an appropriate extension with Bootstrap. Roll your own, style your own commonly used web elements

Make sure you write as little code between projects as possible, at least while prototyping. Making your own framework is about doing away with custom code, overriding properties and hoping to “play nice” with the CSS framework you downloaded.

I decided to create my own framework and plug into it my distinct style of designing/coding websites. There are a few things I always have to handcode in frameworks so that”s definitely a pain in the ass that I want to remove, and so should you. For example:

most CSS frameworks don’t have block-lists. These come in handy for prototyping comments, statuses, and widgets.

most CSS frameworks don’t have a concise extension library and any “extensions” end up being hacks

most CSS frameworks don’t have a way to animate elements, not even with a functional class

no footer, anywhere

In the end, I found that I can easily code up my own framework that fits my view, just like I coded up my own WordPress theme that fit my general development needs and became my “starter theme”.

Note: This solution isn’t there for everyone. If you lack the time or motivation, or whatever, you can easily purchase a Bootstrap theme that matches your tastes closer and work off that or customize bootstrap. A good place to look is WrapBootstrap or even ThemeForest (affiliate links).

Introducing Tseczka CSS Framework (pre-Alpha)

The “Pre-Alpha” basically means that it may look shitty but I’m pretty proud of it and it’s a good start to roll from. So what does my framework currently include? And Why?

The reason I’m discussing my own framework is for you to get an idea how useful it can be to do this.

A simple grid

I used One%CSS Grid for the basis of my grid and am currently working on media queries for it. I added some utility classes to help visualize the grid (ie. shade them and add height) before any content is added. Something I was missing from before. So why did I use a new grid? Well:

every CSS framework needs a grid of some kind. Be it from Foundation, Bootstrap, or wherever

Having a visualization for grid is very important to me. If I start laying out the grids, I want to be able to see what the “final” result will look like before I add the content.

Typography

Typography was something that always bothered me. Every framework tries to tackle it differently, some ending up with headings that change too wildly in size, and some without enough distinction. I’ve also found very ugly blockquotes etc. So I tried to fix this problem and continuously upgrade this portion of my framework whenever I come up with a neat idea.

If you dislike the current solution for typography, it’s a good practice to code your own OR copy the existing and fix it up

You can easily enforce your own conventions for typography. The standard baseline height is 1.5em. Do you think that some elements should behave under a different baseline height? Do you prefer a 1.75em baseline? Update your framework.

Buttons

Many CSS Frameworks get judged by the buttons, no joke. Well, buttons and nav. So here are mine. I was hoping to create some simple and flat buttons and work off that. I like Bootstrap 3’s new flat design which gets rid of the plastic-y look and the BS3 look is what I’m hoping for. I’ll be updating this portion substantially since, honestly, this is the part I care for quite a lot but have no idea where to start with.

While buttons may not seem like the important thing right now, they can have a great impact on prototyping a web app. You can easily make sure you follow your own standard conventions

Navigation

Another part of the CSS frameworks that determines a framework’s succes. I’m not entirely sold on what I have right now since it’s basically a colored copy of Foundation’s nav bar; however, there are some things that I’d like to point out, which I added:

when not extended fully, the nav bar still stays in a rectangle shape and does not gain rounded corners

several color options are available including: main color (this reddish/rusty color), secondary (the blue), grey, and white. I added these in case I want to use sub-navs, widgets navs, or just navigations elsewhere.

Footer

Footer is one of the biggest things missing from CSS frameworks. And it makes sense, totally, just not for my workflow. I’m working on a way to port over my old footer’s design from my Tseczka WP theme:

Again, we’re in pre-alpha stages which is why my version looks WAY off. I’m hoping to have a concise way of declaring a footer without making the markup TOO specific so that I could use it elsewhere. I would not like to have a separate typography sheet just to declare it either.

Most CSS frameworks don’t include a “footer” type element. Footers are important, rolling it into my CSS framework was a big deal

Extensions

This is where I solve the meat of my issues. While Bootsnipp for Bootstrap manages to demonstrate how you could build all these things with just bootstrap classes, I feel like it fails to address some of the major points and gets only “very close” to an ideal prototype. Which is why I started building prototype-specific extensions. I included a “comments-meta” list class which changes the size of the text, makes the list elements inline, and kills left-hand margin. Same goes for the feed-list, and comments. I’m playing around with the feed list which (with comments) will end up resembling Facebook’s statuses and (without comments) twitter statuses as well. The feed-list is built entirely using lists so you end up with having a parent list of feed items, a list for the meta stuff (read more, ignore etc.), and a list for comments.

Obviously, I haven’t started styling forms so the form looks like crap!

It looks like shit, how does this even help?

Well, like I said, I’m in pre-Alpha stage where I’m still planning things out and trying stuff out but my goal is pretty clear. I’d like:

an easily extensible CSS framework

a CSS framework that includes ALL the major elements I use when building websites (so that it includes a way to build feeds, comments, widgets etc.)

a variable system that makes it very quick to change the look of the entire system (just like any other CSS framework)

enough classes to allow in-browser design but not too many classes as to bloat the stylesheet

styling simplicity

last of all, a non-override nature. I don’t want my framework listed as a dependency and then overridden with YET ANOTHER STYLESHEET! That’s what we have bootstrap for.

Why the non-overriding nature?

I want Tseczka CSS Framework to be entirely independent of its development. Once you clone the repo, that’s it, it’s yours. You’re welcome to add new features or cherry-pick what you like from the development but that main point should be for a developer to take it as a final product and build on it on their own by modifying the existing less files or the compiled CSS file. I WANT people to dive into it and not use it as a black-box of tools that they dive into when they need something. I want them to use my framework, in the end, either as vanilla for prototyping or as a skeleton for full development.

This means that Tseczka is not meant to be kept as a dependency via bower or other similar tools.

What’s the plan for future?

My plan for the future is to create a new extension to my framework whenever the need arises. If I happen to need a better “feed” list, I’ll update it. If I happen to need a pinterest-like UI, I’ll create an extension for it. I already have a WordPress UI extension in the works, based on my original WP Theme.

You’re welcome to check all this out:

Tseczka CSS Framework Preview

Still not convinced?

That’s fine. Look, my argument is that having your own CSS framework for prototyping is crucial and can lead to a great experience, especially since you can keep standard conventions within your design. Whether you like things minimal, skeumorphic, shadowy, exaggerated, or whatever, you can keep on extending your framework and making your prototypes match your style. Not only will your clients appreciate it (because they’ll see something closer to the finished product) but you will as well.