8a1f3fb63d | 8 years ago | |
---|---|---|
vendor | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 8 years ago | |
index.html | 8 years ago | |
switcher.js | 8 years ago |
README.md
Modular switcher for previewing drop-in minimal CSS frameworks
This is a quick CSS switcher to allow for previewing some of the many minimal CSS-only frameworks out there. See the demo or drop the switcher into your own page to see how different frameworks would look together with your content.
This project only includes "drop-in" minimal frameworks, in other words, boilerplate frameworks that require no adjustment of the corresponding HTML and can be simply dropped into the project to provide a starting point for further design. No additional javascript, compiling, pre-processors, or fiddling with classes should be required for these to look good and be responsive.
Usage
The switcher is fully modular, so you can easily drop it into your own pages to quickly preview the effect of using different CSS frameworks. You can even add your own frameworks to the list and use the dropdown menu to switch between them.
To use the CSS switcher, just clone or download the project and then drop your html file into the main project folder (you can replace index.html
if you want, since it's just a demo page).
Then it's just a matter of adding the following line at the end of the document, before the closing </body>
tag:
<script src="switcher.js" type="text/javascript"></script>
That's it! You should now be able to cycle through the different frameworks by choosing them from the dropdown at the top of the page.
Custom frameworks
You can easily add your own frameworks to the dropdown, or replace the default ones entirely. Just copy the minified css file for each framework into the vendor
directory and add the framework names to the list at the top of switcher.js
, separated by commas. They will be automatically pulled into the switcher dropdown and loaded when you select them.
List of frameworks
- bullframe by @marcopontili (MIT)
- caiuss by @IonicaBizau (MIT)
- kathamo by debashisbarman (MIT)
- kube by @imperavi (MIT)
- lotus by goatslacker (MIT)
- milligram by @cjpatoilo (MIT)
- min by @owenversteeg (MIT)
- motherplate by @leemunroe (MIT)
- normalize by @necolas (MIT)
- oh-my-css by @egoist (MIT)
- pure by yahoo (BSD)
- siimple by @jmjuanes (MIT)
- simplecss by @neculaesei (MIT)
- tacit by @yegor256 (MIT)
- sanitize by @10up (PD)
- sanitize by @ZDroid (MIT)
- skeleton by @dhg (MIT)
- skeleton-framework by skeleton-framework (MIT)
- skeleton-plus by @oltmannsdaniel (MIT)
- thao by Giuseppe Sanfrancesco (Apache)
Acknowledgements
- Sample HTML5 markup based on html5-kitchen-sink by @dbox (MIT)
- Example images in the demo are by MichaelMaggs on Wikimedia Commons
- Example videos provided by the Blender Foundation via the HTML5-Test-Videos project
- Embedded audio by John Pazdan at ccMixter
- Special thanks to Tacit CSS, which was the original inspiration for making this list to answer the question "Where can I find more frameworks like Tacit?"
LICENSE
MIT.