GithubHelp home page GithubHelp logo

tzi / chewing-grid.css Goto Github PK

View Code? Open in Web Editor NEW
183.0 183.0 31.0 3.02 MB

A CSS Grid ideal for card listing design like tiles, videos or articles listing. Responsive without media-queries.

Home Page: http://tzi.github.io/chewing-grid.css

License: MIT License

CSS 99.75% Shell 0.25%

chewing-grid.css's People

Contributors

tzi 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

chewing-grid.css's Issues

Feedback

Hey Thomas!

First, thanks for this great grid. First time I use it and I already love it.

Here's my feedback:

I noticed a difference between Firefox and Chrome when using min-width in .chew-cell elements (from your demo here: http://tzi.github.io/chewing-grid.css/demo.html). In Chrome, elements do have the same size while in Firefox they don't. Using flex-basis solves the "problem" (if we assume that it's a problem).

I spend few minutes to understand why elements on last row don't expand to fill the space (or why alignment was messed up when using justify-content on parent), then I discovered that .chew-card elements have max-width: 300px by default. It's not clearly explained in doc, maybe it's worth adding it or removing max-width by default? I could also have read more carefully the CSS. ;)

Related to this, I also noticed that alignment on parent (with justify-content) only works if .chew-cell elements have a max-width. I'm not sure if it's normal or not.

Does this replace Herow?

Hi,

I'm asking, if this replaces Herow. Just discovered Herow and I quite like it so far. Is this the same as Herow and Herow has become deprecated?

Remettre la valeur par défaut de text-rendering ?

Hello,

Dans ton fichier /src/mixins/core/_cell.core.scss, tu appliques un reset des propriétés de inline-block.

Par contre, tu laisses text-rendering à sa valeur optimizelegibility, ce serait peut-être mieux de la resetter aussi à auto, non ?

little typos

Hello Thomas,

There's a little error in the doc at 2.E. Set a maximum card width section :

The example says chew-row chew-row--card-min-500 but should be chew-row chew-row--card-max-500

Further, at 3.C. Limit the column number you tell :

Change the cell flex-basis and the width to set a column limit

But the example only changes width value. Do we have to change flex-basis too ?

Have a nice day ;)

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.