Code Monkey home page Code Monkey logo

Comments (3)

JayPanoz avatar JayPanoz commented on June 19, 2024

Won’t work with a super simple example either, in all tools I tested…

from blitz.

JayPanoz avatar JayPanoz commented on June 19, 2024

Soooooooo it seems the solution is detached rulesets.

It will be fun to document it by the way, because it’s obviously so much easier to

.supports-shit({
    shit: crap;
  });

than

@supports @shit {
  /* declaration */
}

¯\(ツ)

Kinda solves it since it works for both nested (bubbling) and global declarations.

Aaaaaaaaaand if we want to really solve 4 (combining feature queries in case of nesting), we’ll probably have to create a Grunt/gulp plugin cos’ I didn't find an existing one…

I'm also super concerned with performance right now cos’ Reading Systems can take a huge hit when there are too many feature queries—as far as I can tell, iBooks was never designed to manage that and since they don’t update its core architecture, it could become a little bit slippery.

from blitz.

JayPanoz avatar JayPanoz commented on June 19, 2024

Since the issue has been solved, it works, and it looks like LESS developers will take another path (macros), I’m closing it.

Will reopen once LESS implements something to deal with it better.

from blitz.

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.