GithubHelp home page GithubHelp logo

zeecoder / cq-usecases Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wicg/cq-usecases

0.0 2.0 0.0 981 KB

Use cases and requirements for standardizing element queries.

License: Other

HTML 100.00%

cq-usecases's Introduction

Use Cases and Requirements for “Container Queries”

Given a complex responsive layout, developers often require a more granular level of control over how the contents of an individual module will respond relative to the size of their parent container rather than the viewport size. This is prohibitive to the goal of creating modular, independent components, often requiring a number of redundant CSS, complex exception cases, and workarounds, and the problem compounds itself depending on how dramatically a module adapts at each of its breakpoints.

This document aims to present some of the use cases that an “element query” syntax would solve, by allowing authors to define layouts within an individual module on the basis of the size of the module itself, rather than the viewport.

The spec proper can be found at https://wicg.github.io/cq-usecases/.

Found a bug? Want to contribute something?

If you found a problem with the document, no matter how small, please file a bug or get in touch with us on Slack

See also our contributor's guide.

Proposals for normative changes to this document should take place on the WICG mailing list.

Join us!

Join the WICG and help make the Web a better place for images everything.

cq-usecases's People

Contributors

alanmoo avatar decad avatar marcoscaceres avatar organicpanda avatar sbressler avatar simevidas avatar tabatkins avatar tantek avatar wilto avatar wnr avatar zeecoder avatar

Watchers

 avatar  avatar

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.