Generate A Base CSS From HTML – Bear CSS
2
Feb
// php the_time('Y') ?>
When creating/designing a web page, we either start with the HTML, build the structure and style it later or style-while-structuring.
If you design with the 1st approach and bored of creating a CSS file with copy-pasting all those class + id names, here is a quick solution:
Bear CSS is a free-to-use web application that generates a stylesheet with all the elements, ids and classes from a given HTML file.
The app is mostly useful for projects with a pretty long HTML and it would be better if Bear CSS had asked which items to include inside the stylesheet just after the upload -feature request : )-.
Website: http://bearcss.com/
- Tags:
Generator
- Filed under: Design, No License, Xhtml & Css
- 3 Comments















3 Responses for "Generate A Base CSS From HTML – Bear CSS"
It’s not a difficult task at all, if you know how to write an script to do it. However, it’s a genus idea, and once I read this article, and visited Bear CSS, I just got amazed by how simple ideas can benefit people (designers here).
My solution to write my own implementation, would be to send HTML to client-side of an application, and there, using jQuery, I recursively get the whole list of id and names, and AJAX the collection back to the server, to build and serve the CSS structure.
Comes in handy if you already have css files and want to know what’s redundant in there
That’s a nice tool.