Git Product home page Git Product logo

Comments (3)

neonstalwart avatar neonstalwart commented on June 12, 2024

i just wanted to add my +1 to the request for more sizes.

theoretically, only denominators of prime numbers would be needed to achieve any sized division but if primes were all you had then you would have to nest your content to get multiples. eg if you wanted something to be 1/6th then you nest 1/2 and 1/3

<div class="unit size1of2">
    <div class="unit size1of3">
        1/6th
    </div>
</div>

some people might find it less than desirable to have to nest just for the sake of layout but at least it can be achieved.

the size which i think would be really useful and is missing is size1of7 - it has a prime number denominator and it would be useful as part of a calendar module. it's been simple enough for me to add it but just thought that if you were going to add anything, i'd like to suggest that you include that one.

from oocss.

phpwalter avatar phpwalter commented on June 12, 2024

I agree. We added "1of7" for our calendar display.

I second the motion for its inclusion.

from oocss.

stubbornella avatar stubbornella commented on June 12, 2024

Someone wrote this, (or wrote a generator for this) but I can't remember if they committed it. Martin, can we make grids_more.css a plugin? It should include 5-10's grids.

@phpwalter - Thanks for the calendar example, that is a great use case.

from oocss.

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.