Step 1

Enter your contact information.

Step 2

Enter your project information.

Step 3

Choose the PHP programmers you want to hire.

Compare Free PHP Quotes





Country



Write Better CSS With ‘Knyle Style Sheets’

*Attention PHP Programmers* - Add A Free Listing! Get more clients.

Win a new Compaq Presario Notebook!

An example of the docs generated by Knyle Style Sheets (image via Kyle Neath)

CSS is complicated.

Understanding how CSS works is the first hurdle, but even after you understand the box model and other complexities you still won’t necessarily understand how to organize your CSS code. It seems like with most projects nothing turns to spaghetti code quite as fast as the CSS files.

Kyle Neath, Director of Design at GitHub, wants to make working with stylesheets a bit easier and he believes that the way to do that is for teams to create better documentation. That should be no surprise given GitHub’s obsession with documentation, but Neath has gone a step further than just telling you you should document your styles, he’s actually created a way to do it — Knyle Style Sheets.

The idea is to write documentation within your styles that can then be process into what Neath calls “a living styleguide.” It works a bit like Docstring processors for Python or Neath’s inspiration, TomDoc. Here’s how Neath describes his stylesheets:

Inspired by TomDoc, KSS attempts to provide a methodology for writing maintainable, documented CSS within a team. Specifically, KSS is a documentation specification and styleguide format. It is not a preprocessor, CSS framework, naming convention, or specificity guideline. This means it works great with ideas like OOCSS, SMACSS, SASS, and LESS.

If you’re curious, head over to GitHub and look over the KSS documentation.

Rails fans can also check out developer Garrett Bjerkhoel’s KSS Rails which provides a Rails 3 engine you can add to your existing application to automatically parse any CSS files found in app/assets/stylesheets.

It won’t solve all the hassles of working with large and complex stylesheets, but documentation can help tame some of the problems with CSS by ensuring that everyone is on the same page. Never underestimate the power of good documentation.

Source http://www.webmonkey.com/?p=53161
Mon, 12 Dec 2011 16:42:17 GMT
Tags: CSS,

*Attention PHP Programmers* - Add A Free Listing! Get more clients.


CSS


The Future of CSS: Finally, Sane Layout Tools

Woolly, the CSS sheep. HTML5 and CSS 3 offer web designers new semantic tags, fancy animations, server-side fonts and much more, but that’s not the end of the story. The next major development in web design will likely revolve around one of the thi

Quickly Create CSS 3 Animations with ‘Ceaser’

CSS 3 has some awesome new animation capabilities for web developers — rotating objects, fading them in and out and more — but writing the code is a bit more complicated than most CSS rules. To make your animating job a bit easier, developer M

Simplify Your Stylesheets With CSSPrefixer

Woolly, the CSS sheep. CSS 3 has some awesome new features, like 3D transforms, smooth transitions, border images and gradients. Since most browsers already support these features there’s no reason you can’t use them today, provided you grac

Members:
San Fernando Valley
FLATLINE labs Internet Solutions Profile
FLATLINE labs Internet Solutions

Professional website development and design, e-commerce solutions, specializing in the LAMP stack.

San Fernando Valley, California US
Sacramento
Technicate Solutions, Inc Profile
Technicate Solutions, Inc

Technicate Solutions, Inc. is a fast-growing IT Consulting firm servicing the Sacramento area and beyond. We combine innovative technologies with business savvy to make successful projects happen.

Sacramento, California US
Gilbert
Freddythunder Profile
Freddythunder

Gilbert, Arizona US
Stockbridge
Secure Website Services Profile
Secure Website Services

Web Design, Graphic Design, SEO, Web Hosting, Servers and Marketing Solutions. Prices start at only $50!

Stockbridge, Georgia US
Davenport
PourHouse Productions Profile
PourHouse Productions

Full Service Web Design/Development/Hosting Company

Davenport, Iowa US
Design Leads


PHP Programmers Valid HTML 4.0 Transitional Valid CSS!

Mozilla’s ‘Do Not Track’ Header Is Starting to Catch on With Advertisers

Among the many new features in Firefox 4 is support for the Do Not Track (DNT) HTTP header. If you t



Mozilla Reinvents Web Video With Popcorn 1.0

Unlike the rest of the web, online video is passive, boring. Mozilla is hoping to change that with P



Forget New Twitter. Check Out Old Facebook

What would Facebook have looked like in 1997? Relying on memories of CRT monitors, limited bandwidth



Google Abandons Anonymous Accounts With New Signup Form

Google is experimenting with a new signup form that eliminates the ability to create anonymous accou



Internet Explorer: The Browser You Love to Hate

Microsoft's latest promotional effort for Internet Explorer takes a humorous look at the nerd fury i



Article Tags
PHP Programmers Articles
Browsers| Web Standards| CSS| firefox| HTML5| Web Basics| Programming| Web Services| Mobile| JavaScript| Web Development| Visual Design| Multimedia| chrome| Google| responsive design| This Week in Web| CSS 3| Opera| Web Apps|
Friends:
Live Help Chat Software
Web Design Quote
Web Design