[pmwiki-users] GridWorks (new recipe)
V.Krishn
vkrishn4 at gmail.com
Fri Aug 3 19:11:05 CDT 2012
Uploaded new recipe 'GridWorks'
GridWorks - A general utility css grid markup for wiki pages.
http://www.pmwiki.org/wiki/Cookbook/GridWorks
GridWorks uses grid css from 960.gs (library uploaded separately)
It allows css grid to be loaded/used from within wiki pages.
It provides two methods of loading css and making it responsive to
change in layout.
1. By using adapt.js
2. Load css using MediaQueries(MQ).
Markup:
(:grid columns=12 gutter=10 fluid=0 loadmethod=js :)
There are some do and don't of using MQ, including using of @import rules.
JS vs. MQ
1. JS loads less files, but change in layout needs re-updating the layout
file.
2. MQ loads all files at once.
Presently 12/16/24 grid columns are provided.
DEMO:
http://insteps.net/pr/a/pmwiki/Test/WikiSandbox2
--
Regards.
V.Krishn
More information about the pmwiki-users
mailing list