Sponsored by Travelzoo
Take Advantage of Ridiculously Low Holiday Airfares view!
travelzoo.com - Flights $52 and up for Thanksgiving, Christmas & New Year. But move on it now.
90 Comments
- olavfb, on 10/10/2007, -2/+42Hi guys!
I made this framework, and really appreciate your comments, both positive and negative. I'm well aware of the somewhat laughable notion of using class names such as "column" and "span-11" and so forth.
However, I wanted to create a light-weight alternative to YUI, and this is as far I've come. I hope to develop it further, but I can totally understand the criticism uttered in the comments above.
If you like it, I hope you'll find it useful (I know I will). If not, well, good day to you. ;) - KelliShaver, on 10/10/2007, -10/+42This is neither "smaller" nor "easier to implement" than 90% of the CSS I code on a daily basis. Digg's CSS, for instance, is only 32k and while it's not the most complicated site out there, it's pretty typical. Blueprint starts at 40k and then you must add your own CSS on top of that.
I'd also rather have descriptive CSS and ID and class references, like "sidebar" and "main_nav" not "column span-11" and "prepend-4"
Then there's the whole other issue how ot forces a certain level of "sameness" on everything built with it and yes, maybe you can work around that, but it's far easier and faster to not have to create "work-arounds" in the first place.
Stifling creativity one CSS file at a time..... - wackymacs, on 10/10/2007, -7/+30I can see this being useful but it's nothing new.
- appletalk, on 10/10/2007, -0/+21Original idea:
http://www.alistapart.com/articles/frameworksfordesigners - realnebby, on 10/10/2007, -0/+13is really not how CSS is meant to be used. Class names are supposed to describe what an object in the DOM is not where it should go.
- careyt, on 10/10/2007, -0/+13this is the first really thought out css library that I've ever paid any attention to, I think I like it.
does anyone know of any other things like this out there?? - reidman, on 10/10/2007, -0/+9If you look at the files which get included, they come to a grand total of 12kb.
I was going to say something about using "90% of the CSS you code on a daily basis", but then I clicked the 'valid CSS' link on your portfolio and got 6 errors and 65 warnings, mostly from ThickBox, a creativity-stifling library...
Pointless quibbling aside, creative designers/developers can use frameworks to do awesome things more quickly. The people putting this project down are trying to make themselves look like professionals too busy to trifle with fancy toys, but a lot of the comments against this framework -- and even the idea of a CSS framework -- are either ridiculous ("A framework for CSS? CSS is fairly straight forward") or factually wrong ("'grid' is another word for excessive divs that waste space and make the site overcomplicated"). - crewof502, on 10/10/2007, -0/+9This is an amazingly useful tool. Creating the foundation for a good quality CSS design from the start every time. Similar to the idea behind Rails. Build a great tool based on convention over configuration.
- skinjester, on 10/10/2007, -0/+7well, yes - but its a matter of not reinventing the wheel for every project. Its a matter of making a consistent set of assumptions for every project. Any developer already does this by having certain tools or stylesheets or includes or macros or whatever to start with. Any of these would be easy enough to code from scratch, but personally I don't like starting from scratch unless there's a compelling reason to do so. The goal of a framework like this is to eliminate the trial and error that can go into cross-browser css layout
- reidman, on 10/10/2007, -0/+6Did you even look at the website? Do you have any idea what a 'grid' is?
- SpookyET, on 10/10/2007, -1/+7Eh. First, he still thinks in terms of tables. Second, that CSS is not sandboxed. Have fun embedding a forum or any other app in your site.
- AussieScribe, on 10/10/2007, -2/+8For the record, *I'm* bloody impressed.
Ignore the nay-sayers. Damn fine work. Well done! - ubernostrum, on 10/10/2007, -0/+6Perhaps you could re-phrase that for other professions:
"Whoever the hell needs libraries and hardware drivers to write code shouldn't be writing code in the first place."
"Whoever the hell needs standard-sized boards and nails to build a house shouldn't be building houses in the first place."
etc., etc.
I mean, seriously: if you want to write a desktop application, do you first write an operating system kernel and low-level code for disk operations, display management, and so on? Or do you rely on the fact that these common, repetitive tasks have been handled by standard components you can pick up and take advantage of? Or if you were going to build a house, would you first go out and cut down some trees, and open a blacksmith's shop to make your own hammers and saws and such, or would you go to a hardware supply store and buy some tools and standard-sized pre-cut lumber? - muniak, on 10/10/2007, -2/+8As far as I was always concerned, CSS was built around the content of your site, so that either could be easily and seperatly changed whenever. This title and description makes it seem as though the content is built around or "on top" of the style.
Seems to me, after reading some of the source on the tutorials, that it's using CSS to emulate using tables with divisions eg. (div class="column span-8 prepend-1 first border") . This seems a bit redundant, unless we're trying to cut out as much html from the standards as possible. What ever happend to keeping your source as small as possible? - reidman, on 10/10/2007, -2/+7olavfb:
You should know better than to try to do something useful with your time. Luckily, there are plenty of highly-accomplished designers and developers here more than willing to ridicule your efforts.
Seriously though, the fact that you brushed off some of the moronic comments in this topic is commendable. Digg needs more users like you. I'll be working with your framework in my next project, hopefully I can add something useful to it (or remove something unnecessary). - iblastoff, on 10/10/2007, -1/+6wow. this is all going COMPLETELY over your head, isn't it?
- bramkok, on 07/02/2009, -1/+6You are missing the point of the background lines Mr. Arnold.
- drzeus, on 10/10/2007, -0/+5Yahoo's YUI library has four CSS components: grids, reset, fonts, and base. Blueprint sounds very similar.
- Resilient, on 10/10/2007, -0/+5That article was written by Jeff Croft and he also played a role in the Blueprint framework. Same idea, if anything.
- CircleFusion, on 10/10/2007, -0/+4So is the concept of a framework. It's a time saver.
- appletalk, on 11/10/2007, -3/+7I have to agree with this. The grid technique is not something everyone uses, the reset is from Eric Meyer, and the typography file even uses px instead of em, and has fixed values for sizes, which is something that greatly varies from project to project.
I think it's a bit of an over generalization. Reset and a some other lines are enough for a project's default css. - bramkok, on 07/02/2009, -1/+5Besides the fact that your HTML code is gonna get ugly and the framework weighs 40k it still is a remarkable idea to have a nice steady grid lying in front of you while applying CSS code to a page.
The framework also contradicts the philosophy of separating style from markup. With the framework you are creating a layout structure within the HTML code as an opposite of normal CSS coding where you define all the structural properties in the CSS code. On the other hand, CSS isn't very good in mixing with other programming languages.
For instance if you want to create a chart with percentages from a database to represent the length of a bar you can only link information out of a database to a CSS element within the HTML code. With this framework you could modify the structure of the page with information from a database very easily because all the structural properties are inside the HTML code.
I'm looking forward to see this being properly developed. - xe54, on 10/10/2007, -0/+3I agree. Plus, the BP style sheets are very heavily commented... if you pop them into a css optimizer such as www.cleancss.com (which removes comments and redundant info) you are talking about less than 8Kb!
However I also agree about the semantic div titles like prepend-4 being useless for accessibility and particularly undescriptive. If I use this framework I will have to add my own classes to help make the site easy to understand. Thats a bit of a hack though. - chaosmachine, on 10/10/2007, -1/+440k? wow, no thanks.
- badboibillie, on 10/10/2007, -0/+3like someone said earlier - bloated. There's so much junk in there that you don't need - it's way more efficient to just use base css templates and build upon that instead of using this catch-all css.
- dgh1973, on 10/10/2007, -0/+3Dugg, I'm going to try it out.
- ptrkmkl, on 10/10/2007, -0/+3If nothing else, this has inspired me to make my own framework from which to start my projects.
- MScrip, on 10/10/2007, -1/+4> "It really ticks me off when so called "web designers" don't understand even the basics of CSS"
What did web designers do before CSS? There were plenty of web designers who were employed from 1995-2002. - inactive, on 10/10/2007, -0/+3Grids are the most important part of any design, you havent a ***** clue what your talking about.
Blueprints grid doesn't appear to line up right for me FF2 - makingme, on 10/10/2007, -0/+3The grid-based system is a method used in print design. CSS libraries or frameworks are there to improve effeciency. Give you a better start from the gate. Not everyone is into grid systems, but most CSS developers I know ALWAYS zero-out or reset certain CSS elements. I've mentioned in previous comments the acronym DRY. The only thing CSS and JS libraries do is prevent the laborious recreation of regularly used css style definitions. How about everyone stop their ball aching and learn how to not repeat yourselves.
- bambala, on 10/10/2007, -0/+3Well done. One of the parts that I like about YUI, is that they also host the libraries for you.
- vh1`, on 10/10/2007, -0/+2while I do agree with the GP, she wraps each input on her site in a fieldset
while yes, form elements should be in fieldsets, they don't each require their own - ozsynergy, on 10/10/2007, -1/+3In IE 6.0 the "demonstration" page doesn't display properly. The columns display vertically.
Sadly, IE6 exists and still commands an undeserving high market share.
Yet another reason not to use this framework. - makingme, on 10/10/2007, -0/+2Its called D.R.Y., ever hear of it. Its not like this concept is only for scripting and programming languages. Get a clue.
- joshdavey, on 10/10/2007, -0/+2I really like the grids. I can see this being very useful. Maybe a bit of overkill for most sites though.
- joeyjojo, on 10/10/2007, -0/+2Tables are a logical way to layout anything. It's how it's always been done, for the most part. There's nothing wrong with the concept of tables. There are things to argue against in the use of actual table tags, but the concept of tables...ie rows and columns...ie a GRID is a very sound design concept to use.
I do agree that the IDs should be more semantic, but I'm also pragmatic, and there are definitely benefits to using a system like this. - phoebus, on 10/10/2007, -1/+3This looks similar to some of the functionality that the Yahoo User Interface has in its CSS files. ( http://developer.yahoo.com/yui/reset ). YUI doesn't have a separate CSS file for print however.
- chrism1128, on 10/10/2007, -0/+2I'm not feeling it.
- SPThom, on 10/10/2007, -0/+2I dunno... For some reason, the thought of putting CSS on a grid system seems backwards to me. Granted, the sample page and tutorial pages reveal cleaner code than you'd get with a tabled site... But I don't know if I could really invest in a framework that doesn't provide any full, fluid-width design capability.
On the other hand, it would appear to solve the problem of equal column heights, or in other words, columns filling down to meet the bottom of other columns, and that's no small feat. - makingme, on 10/10/2007, -0/+2Again, its a framework and the files are easily accessible and editable by the developer. Remove the cruft you don't need. They're not telling you to use this as the end-all, be-all solution to your css needs.
- ChrisTek, on 10/10/2007, -0/+2To implement this, I would double the size of my CSS, require memorization of the whole stylesheet, and spend twice as much time trying to cancel out and work-around things I don't like, or that need to be changed.
No thanks. - ubernostrum, on 10/10/2007, -0/+2I downloaded the zipped Blueprint package. File sizes:
grid.css: 4k
print.css: 1k
reset.css: 1k
screen.css: 718 bytes
typography.css: 3k
Total: 9.7k
Compare to YUI (in both cases, going by the non-minimized versions, since Blueprint doesn't ship minimized copies of its files):
fonts.css: 4k
grids.css: 8k
reset.css :4k
Total: 16k
What was that you were saying? - AceTracer, on 10/10/2007, -0/+1I don't get it, how is this easier than building it myself? Frameworks are generally a good idea for building MVC models, and maybe even a framework that involves HTML, CSS, and Javascript would be a nice idea, but I don't see why this is necessary for just CSS.
- ra1971, on 10/10/2007, -0/+1Pixel are evil, and resizing them is yet more evil.
What's a pixel? It's a physical thing in your display. How are you going to resize those?
If you have resizable pixels in web browsers, those are **not** pixels.
And using them is evil because the real size of the object will change according to the screen it's displayed on.
So there. Use ems which are related to the size of font the user selected, or points which are a displayed size measure. - inactive, on 10/10/2007, -0/+1pfft no one cares about your ***** yellow folders
- controltheweb, on 10/10/2007, -0/+1Amazing variety of comments on this. You'd think it was an article on SEO....
- makingme, on 10/10/2007, -0/+1Ball aching. Thats all you're doing.
- homesqua, on 10/10/2007, -2/+3CSS errors: http://jigsaw.w3.org/css-validator/validator?uri=http://bjorkoy.com/blueprint/index.html
and two alt tag errors for the html... not that they really matter..
I just think it's funny to see accessibility errors on this. - sonofagunn, on 10/10/2007, -0/+1"Thinking in terms of tables" is not a bad thing. Good design has different elements line up nicely - a "grid" is a nice way to make this happen. There is a reason professional printing tools have a grid layout.
The html table tag is bad for layout because of semantic reasons(a table should contain tabular data) - not because lining everything up in columns and rows is bad. - svivian, on 10/10/2007, -2/+3Ew, how about next time removing all the Mac folders/files. I don't want __MACOSX or .DS_Store clogging up my folders.
And like most everyone else said, it's pretty pointless. Everyone has their own ideas of what are the best default styles, let them create their own CSS template for reuse. -
Show 51 - 90 of 90 discussions



What is Digg?