Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

ChristianYaglenski/multicolumn-polyfill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

This imitates the CSS3 multicolumn effect for list items for IE8-9. Use it with Modernizr.

How does it work?

  • Gets all children of an element
  • Distributes them on new floating "column" elements
  • Hides the original
  • Responsive behaviour: On resize, checks if column number changes

Usage Example

 if (!Modernizr.csscolumns) {
   $('.mycolumn-element').multicolumn();
 }

License

This script is open-sourced software licensed under the MIT license

About

CSS multicolumn polyfill for list items, e.g. navigations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%