@aral @phazonoverload That would change it from being a markup language to an actual programming language though.
-
-
-
@BillinghamJ CSS is not a markup language. This would not change the declarative nature of CSS. +@phazonoverload -
@aral@phazonoverload Hmm. I suppose, though it does still seem like it would make it overly complex. Also potentially very inefficient -
@BillinghamJ On the contrary, would simplify and better encapsulate breakpoints. Inefficiency can be optimised :) +@phazonoverload
End of conversation
New conversation -
-
-
@aral how would you want the syntax to look? Like this, perhaps: selector (max-width: _px) { property: value; } Or something different? -
@RightSaidJames Yep, like@ianstormtaylor suggests in his post http://ianstormtaylor.com/media-queries-are-a-hack/ … :)
End of conversation
New conversation -
-
-
@aral this article is a good primer on the subject: http://ianstormtaylor.com/media-queries-are-a-hack/ … but yes we do need them ;-)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral absolutely. A few have talked about element queries rather than what exists.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral@andyhume has a "selector query" concept here: https://github.com/ahume/selector-queries …. Also, it's a topic I'm keen to see move forward/debated.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral element queries are a big debate and technically very hard for browsers to implement due to their ability to create infinite loops.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.