Code Monkey home page Code Monkey logo

justifygrid's People

Contributors

crocodillon avatar emilfrolov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

justifygrid's Issues

small issue with site customizer

When customizing with the 'Support old IE' option there is a problem with the generated css, it shows like this:

.lt-ie8 .grid {
  zoom: expression(this.runtimeStyle.zoom="1", this.appendChild( document.createElement("span") ).style.fontSize="0");
}

thx for this interesting approach...i've suggested this as an alternative grid mechanism for the yahoo! Pure css framework ( http://purecss.io/ )

The "zoom" property in IE6 & IE7

Hey, I found this sentence:

zoom: expression(this.runtimeStyle.zoom="1", this.appendChild( document.createElement("span") ).style.fontSize="0");

but I tested that, just set zoom:1 is ok, the elems can auto justify.

And the css expression will insert many "span" node.

May be I lose something?

Blocks are aligning on opposite ends

I'm interested in this technique, but I can't seem to get the blocks to be left aligned when there is a strange number of them.

I just added 2 image elements to your demo and this is the result:

image

Do you happen to know how to fix this?

Stylus or Myth ports?

I've been using a similar justified grid of inline-blocks for my last several layouts as well. A great flexible responsive solution. Most of my layouts were built in Stylus, with the last couple in standards-compliant Myth CSS.

Anyone interested in a port of the JustifyGrid into these CSS offshoots?

Unwanted space on :after element of grid

Hi,

I'm using this framework all the time and it's great, but I have to ask - shouldn't :after pseudoelement have display: block instead of display: inline-block style? Because now every container extending grid class leaving some space due to font-size issue.

Maybe I'm missing something, but display: block or inline resolving this problem.

Anyway great work, keep it up!

Issue with small spans and two many elements per row.

Hey,

I noticed that if you have for e.g. 12 span-2 elements in a 12 column grid it can happen that you get 7 elements in a row. This happens when the combined space between 6 of those elements (1 row) are equal to about the size of 1 element (it fits).

So this way you get 7 span 2 elements (14 units in a 12 unit grid) in one row. Is there any way of dealing with this issue.

I use the grid responsively so I can not just add a padding or something.

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.