Giter VIP home page Giter VIP logo

Comments (7)

seven-phases-max avatar seven-phases-max commented on May 23, 2024

A few ideas for more "advanced &" examples:

// protozoa:
na { ba&&   {._}}
co { &&nut  {._}}
cu { &&mber {._}}
ti { pe&&on, &re { &, re& {._}}}

// don't repeat yourself:
.me {
    &&, & &, && &, & &&, &&&& {._}
}

// robotics:
0, 1 {
    &&&& {._}
}

// ._
._() {D:-}

from less-docs.

jonschlinkert avatar jonschlinkert commented on May 23, 2024

lol awesome

from less-docs.

seven-phases-max avatar seven-phases-max commented on May 23, 2024

Btw., what would be a meaningful "&" feature title? There're a few features sub-sections that I'm planning to join into one category but it looks like there's no generally accepted name for this feature.
So far I found: "Appender", "&", "Ampersand", "Self Selector". There's also "Parent Selector" (but there it seems to be dedicated exclusively to "backward & usage": .ie & {}).

from less-docs.

SomMeri avatar SomMeri commented on May 23, 2024

I used appender so far, but I like Parent Selector even more - it is more descriptive. Outer selected could be used to, but I'm not sure how much it is English.

from less-docs.

lukeapage avatar lukeapage commented on May 23, 2024

Or even parents selector (note plural)

from less-docs.

seven-phases-max avatar seven-phases-max commented on May 23, 2024

Ok, so I guess I'll stick to "Parent(s) Selector" for the moment. Now I have actually remembered that initially Parent-Selectors.md contained more info about "&" in general but then most of this info was moved into nested.md since almost every example there was the same. Now when contents of nested.md repeat almost everything said in "Overview:Nested Rules" (thus nested.md is not even published in features) I guess I need to move anything about "&" back to Parent-Selectors.md. 👯

from less-docs.

seven-phases-max avatar seven-phases-max commented on May 23, 2024

Closing as "it is now (at least partially).

from less-docs.

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.