Giter Site home page Giter Site logo

Comments (4)

paulcollett avatar paulcollett commented on May 26, 2024 1

Oh apologies, you are correct! I'll get the readme updated. If you're needing IE9 support, it should be as simple as replacing flexbox with floats to control the layout. Something like this:

.my-masonry-grid {
  margin-left: -30px; // gutter size offset
}
.my-masonry-grid:after { // "clearfix" technique
 content: '';
 display: block;
 clear: both;
}
.my-masonry-grid_column {
  float: left;
  padding-left: 30px; // gutter size
  margin-bottom: 30px;
}

from react-masonry-css.

paulcollett avatar paulcollett commented on May 26, 2024

If you have the option to use "autoprefixer" (https://autoprefixer.github.io/) plugin when compiling your css, the IE9 compatible flexbox rules will automatically be added for you. Otherwise just paste the css into the generater at the link above. Hope that works for you!

from react-masonry-css.

mariepw avatar mariepw commented on May 26, 2024

Thanks for your quick answer...
I do have "autoprefixer" plugin, but correct me if I am wrong, maybe my comprehension is not good, even with "prefix" flexbox is not supported for IE9... https://caniuse.com/#feat=flexbox

from react-masonry-css.

mariepw avatar mariepw commented on May 26, 2024

Thanks, I'll make some tests :)

from react-masonry-css.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.