Drop-in switcher for previewing minimal CSS frameworks
This is a quick drop-in CSS switcher to allow for previewing some of the many minimal CSS-only frameworks that are available. 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 minimal frameworks, in other words, boilerplate / classless 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
To use the CSS switcher, just add the following line anywhere within the body tag on your page:
<script src="https://dohliam.github.io/dropin-minimal-css/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.
Keyboard shortcut
You can quickly switch between frameworks by pressing the modifier key or keys on your keyboard + s
to focus the switcher dropdown menu, followed by the up and down keys to move up and down the list.
Bookmarklet
The bookmarklet is a convenient way to preview how different CSS frameworks would look on any HTML page. Just paste the following code into your address bar to create a CSS switcher for any site:
javascript:(function()%7Bvar%20body%20%3D%20document.getElementsByTagName('body')%5B0%5D%3Bscript%20%3D%20document.createElement('script')%3Bscript.type%3D%20'text%2Fjavascript'%3Bscript.src%3D%20'https%3A%2F%2Fdohliam.github.io%2Fdropin-minimal-css%2Fswitcher.js'%3Bbody.appendChild(script)%7D)()
Or alternatively, drag the link at the top of the demo page to your browser's bookmark bar.
Boomarklet generated by the Bookmarklet Creator. Thanks to markdown-css for the idea!
API
There is a simple API available to allow linking directly to particular stylesheets on the demo page. For example:
https://dohliam.github.io/dropin-minimal-css/?sakura
The above links directly to the demo with Sakura CSS.
Frameworks
Adding frameworks
If you know of a minimal framework that hasn't been included here, please create an issue or pull request so that we can add it to the list!
List of frameworks
- a11yana by @alexandersandberg (Preview Β· MIT)
- almond by @alvaromontoro (Preview Β· MIT)
- axist by @ruanmartinelli (Preview Β· MIT)
- bahunya by @Kimeiga (Preview Β· MIT)
- bamboo by @rilwis (Preview Β· MIT)
- bare by @longsien (Preview Β· MIT)
- base by @matthewhartman (Preview Β· MIT)
- basic by @vladocar (Preview Β· MIT)
- bolt by @tbolt (Preview Β· MIT)
- bonsai by @ciar4n (Preview Β· MIT)
- brutalist by @blainsmith (Preview Β· MIT)
- bullframe by @marcop135 (Preview Β· MIT)
- bulma by @jgthms (Preview Β· MIT)
- caiuss by @IonicaBizau (Preview Β· MIT)
- caramel by @Lumios (Preview Β· MIT)
- cardinal by @cbracco (Preview Β· MIT)
- centigram by @milouse (Preview Β· MIT)
- centurion by @justinhough (Preview Β· GPL)
- chota by @jenil (Preview Β· MIT)
- cirrus by @spiderpig86 (Preview Β· MIT)
- classless by @emareg (Preview Β· MIT)
- clmaterial by @24aitor (Preview Β· MIT)
- codify by @zdroid (Preview Β· MIT)
- comet by @marcbruederlin (Preview Β· MIT)
- concise by @ConciseCSS (Preview Β· MIT)
- concrete by @louismerlin (Preview Β· MIT)
- cutestrap by @tylerchilds (Preview Β· GPL)
- flat-ui by @Designmodo (Preview Β· CC BY & MIT)
- fluidity by @mrmrs (Preview Β· MIT)
- furtive by @johno (Preview Β· MIT)
- gd by @hawkz (Preview Β· MIT)
- generic by @Vereis (Preview Β· MIT)
- github-markdown by @sindresorhus (Preview Β· MIT)
- gutenberg by @bafs (Preview Β· MIT)
- hack by @egoist (Preview Β· MIT)
- hello by @arp242 (Preview Β· PD/ISC)
- hiq by @jonathanharrell (Preview Β· MIT)
- holiday by @EvgenyOrekhov (Preview Β· MIT)
- html-starterkit by @zitrusfrisch (Preview Β· MIT)
- hyp by @krszwsk (Preview Β· MIT)
- kathamo by @debashisbarman (Preview Β· MIT)
- koochak by @peyman3d (Preview Β· MIT)
- kraken by @cferdinandi (Preview Β· MIT)
- kube by @imperavi (Preview Β· MIT)
- latex by @davidrzs (Preview Β· MIT)
- lemon by @appalaszynski (Preview Β· MIT)
- lissom by @Looky1173 (Preview Β· MIT)
- lit by @Ajusa (Preview Β· MIT)
- lotus by @goatslacker (Preview Β· MIT)
- markdown by @mrcoles (Preview Β· MIT)
- marx by @mblode (Preview Β· MIT)
- material by @daemonite (Preview Β· MIT)
- materialize by @Dogfalo (Preview Β· MIT)
- mercury by @wmeredith (Preview Β· MIT)
- milligram by @cjpatoilo (Preview Β· MIT)
- min by @owenversteeg (Preview Β· MIT)
- mini by @Chalarangelo (Preview Β· MIT)
- minimal by @billyshall (Preview Β· MIT)
- minimal-stylesheet by @chr15m (Preview Β· MIT)
- missing-style by @dz4k (Preview Β· BSD 2-Clause "Simplified" License)
- mobi by @xcatliu (Preview Β· MIT)
- motherplate by @leemunroe (Preview Β· MIT)
- mu by @BafS (Preview Β· MIT)
- mui by @amorey (Preview Β· MIT)
- mvp by @andybrewer (Preview Β· MIT)
- neat by @codazoda (Preview Β· MIT)
- new by @3x (Preview Β· MIT)
- no-class by @davidpaulsson (Preview Β· MIT)
- normalize by @necolas (Preview Β· MIT)
- oh-my-css by @egoist (Preview Β· MIT)
- ok by @andrewh0 (Preview Β· MIT)
- pandoc-scholar by @pandoc-scholar (Preview Β· GPL v2)
- paper by @rhyneav (Preview Β· ISC)
- papier by @alexanderGugel (Preview Β· MIT)
- pavilion by @getpavilion (Preview Β· MIT)
- picnic by @FranciscoP (Preview Β· MIT)
- pico by @picocss (Preview Β· MIT)
- preface by @cluzier (Preview Β· MIT)
- primer by @primer (Preview Β· MIT)
- propeller by @digicorp (Preview Β· MIT)
- pure by @yahoo (Preview Β· BSD)
- roble by @violapeter (Preview Β· MIT)
- sakura by @oxalorg (Preview Β· MIT)
- sanitize by @csstools (Preview Β· CC0)
- scooter by @dropbox (Preview Β· Apache)
- semantic-ui by @Semantic-Org (Preview Β· MIT)
- shoelace by @claviska (Preview Β· MIT)
- siimple by @jmjuanes (Preview Β· MIT)
- simple by @kevquirk (Preview Β· MIT)
- skeleton by @dhg (Preview Β· MIT)
- skeleton-framework by @skeleton-framework (Preview Β· MIT)
- skeleton-plus by @oltdaniel (Preview Β· MIT)
- snack by @nzbin (Preview Β· MIT)
- spcss by @susam (Preview Β· MIT)
- spectre by @picturepan2 (Preview Β· MIT)
- style by @ungoldman (Preview Β· ISC)
- stylize by @vasanthv (Preview Β· MIT)
- superstylin by @caiogondim (Preview Β· MIT)
- tachyons by @tachyons-css (Preview Β· MIT)
- tacit by @yegor256 (Preview Β· MIT)
- tent by @ulinaaron (Preview Β· MIT)
- terminal by @Gioni06 (Preview Β· MIT)
- thao by @Sanfra1407 (Preview Β· Apache)
- tui by @vinibiavatti1 (Preview Β· MIT)
- vanilla by @bradleytaunt (Preview Β· MIT)
- vital by @doximity (Preview Β· Apache)
- water by @kognise (Preview Β· MIT)
- wing by @KingPixil (Preview Β· MIT)
- writ by @causal-agent (Preview Β· ISC)
- yamb by @runxel (Preview Β· Blue Oak)
- yorha by @metakirby5 (Preview Β· MIT)
Theme collections
- asciidoctor-skins by @darshandsoni:
- ads-gazette by @darshandsoni (Preview Β· MIT)
- ads-medium by @darshandsoni (Preview Β· MIT)
- ads-notebook by @darshandsoni (Preview Β· MIT)
- ads-tufte by @darshandsoni (Preview Β· MIT)
- attri by @raj457036:
- attri-bright-light-green by @raj457036 (Preview Β· MIT)
- attri-midnight-green by @raj457036 (Preview Β· MIT)
- attri-dark-forest-green by @raj457036 (Preview Β· MIT)
- attri-dark-fairy-pink by @raj457036 (Preview Β· MIT)
- attri-light-fairy-pink by @raj457036 (Preview Β· MIT)
- bootswatch by @thomaspark:
- boot-cerulean by @thomaspark (Preview Β· MIT)
- boot-cosmo by @thomaspark (Preview Β· MIT)
- boot-cyborg by @thomaspark (Preview Β· MIT)
- boot-darkly by @thomaspark (Preview Β· MIT)
- boot-flatly by @thomaspark (Preview Β· MIT)
- boot-journal by @thomaspark (Preview Β· MIT)
- boot-lumen by @thomaspark (Preview Β· MIT)
- boot-paper by @thomaspark (Preview Β· MIT)
- boot-readable by @thomaspark (Preview Β· MIT)
- boot-sandstone by @thomaspark (Preview Β· MIT)
- boot-slate by @thomaspark (Preview Β· MIT)
- boot-spacelab by @thomaspark (Preview Β· MIT)
- boot-superhero by @thomaspark (Preview Β· MIT)
- boot-yeti by @thomaspark (Preview Β· MIT)
- markdowncss by @johnotander:
- w3c-core by @Bert Bos:
- w3c-chocolate by @Bert Bos (Preview Β· W3C)
- w3c-midnight by @Bert Bos (Preview Β· W3C)
- w3c-modernist by @Bert Bos (Preview Β· W3C)
- w3c-oldstyle by @Bert Bos (Preview Β· W3C)
- w3c-steely by @Bert Bos (Preview Β· W3C)
- w3c-swiss by @Bert Bos (Preview Β· W3C)
- w3c-traditional by @Bert Bos (Preview Β· W3C)
- w3c-ultramarine by @Bert Bos (Preview Β· W3C)
See also
- workflow - Quick prototyping script for creating rich html and pdfs from markdown documents (based on dropin-minimal-css)
- asciidoctor-skins - CSS stylesheets for asciidoctor (with a switcher based on dropin-minimal-css)
Other similar collections
- CSS Bed by @ubershmekel
- classless-css by @dbohdan
- cleanrmd by @gadenbuie
- awesome-css-frameworks by @troxler
Acknowledgements
- Sample HTML5 markup based on html5-test-page by @cbracco (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 Night Owl by Broke For Free at the Free Music Archive
- 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?"
- Table of contents made with tocdown
License
MIT.