{"issue":{"created_at":"2011-12-14T20:56:30Z","state":"open","updated_at":"2011-12-14T20:56:30Z","user":{"gravatar_id":"2e7a35057a2980c4560e0953d3a1bc7e","id":1018402,"url":"https://api.github.com/users/zslabs","login":"zslabs","avatar_url":"https://secure.gravatar.com/avatar/2e7a35057a2980c4560e0953d3a1bc7e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"Hi,\r\nI'm sorry if this has been asked before, but I haven't been able to find if this is possible or not.\r\n\r\nSometimes, those crap browsers (you guessed it, IE) sometimes need to have slight modifications to elements to make them alll pretty. Another occurrence is when using Modernizr, when you need to specify a safe fallback for browsers that do not support certain features.\r\n\r\nObviously nested CSS is AMAZING and keeps everything very well organized - but is there a way to go back up the tree without loosing the organization of the CSS? For example:\r\n\r\nHow I would normally do this now:\r\n\r\n    #element {\r\n    \t\r\n    \t.elementShadow {\r\n    \t\tbox-shadow: 5px 5px 5px #ccc;\r\n    \t}\r\n    }\r\n\r\n    .ie7 {\r\n    \t\r\n    \t#element {\r\n    \t\t\r\n    \t\t.elementShadow {\r\n    \t\t\tborder:1px solid #ccc;\r\n    \t\t}\r\n    \t}\r\n    }\r\n\r\nHow I'd REALLY like to be able to do that same thing:\r\n\r\n    #element {\r\n    \t\r\n    \t.elementShadow {\r\n    \t\tbox-shadow: 5px 5px 5px #ccc;\r\n    \t}\r\n\r\n        ^body.ie9^ .elementShadow {\r\n            border:1px solid #ccc;\r\n        }\r\n    }\r\n\r\nObviously I'm pulling those ^^ out of my ass, but I think you might get my point. I also realize this could have some dramatic issues about organization as a whole (if it was overused), but I think this could be useful. Thanks!","assignee":null,"id":2558253,"labels":[],"number":525,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Traverse back up the tree","html_url":"https://github.com/cloudhead/less.js/issues/525","closed_at":null,"url":"https://api.github.com/repos/cloudhead/less.js/issues/525","milestone":null},"action":"opened"}