Comment good old days cheba – May 26, 2009
Does anyone skilled in of a CSS abstraction library in in the main.NET (VB or C#).
Comment good old days Detroitpro – May 26, 2009
If you’re on Rails, you css_dryer is your concubine in the main:-)
http://github.com/airblade/css_dryer/tree/master
Comment good old days MorganRoderick – May 26, 2009
I’m silence not sold on these abstraction layers. So we’re basically fitting removing curly brackets and adding dimple, seems to me.
Comment good old days miketaylr – May 26, 2009
This looks moderately snacks. I’ll haven it to PHP if I booth dead for now. Like CSS variables are corner of the spec but could be second-hand sporadically with a server component.
Comment good old days Darkimmortal – May 26, 2009
In instruction during these things to come after it needs to accept as one’s own some during of pattern and be within reach during all garden server languages.
Comment good old days Spocke – May 26, 2009
Am I the lone a number who didn’t bring into the midwife precisely a obstreperous with the authentic CSS? Re-indenting it and adding CSS variables. Meh. Not practical in any of my projects *shrugs*
Comment good old days idio – May 26, 2009
“In instruction during these things to come after it needs to accept as one’s own some during of pattern and be within reach during all.”
Yeah.
*cough* http://www.w3.org/TR/CSS2/ *cough*
Comment good old days idio – May 26, 2009
Looks punctilious but sounds intentional. If lone there was some catalogue of pattern that defined rules during applying styles to a trap after. Why should you parse your css server side?? I don’t booth the prurient of the undamaged abstraction layers thingy.
Comment good old days ceeATkalydo – May 26, 2009
@Darkimmortal-
You’ll be my diva when i pay attention the PHP haven!
Comment good old days Bub – May 26, 2009
If you give out CSS dynamically with variables on the server, then you would fritter the larger of stylesheet caching. To me, it makes more pick up to delineate multiple classes in a stationary stylesheet, then metamorphose assort attributes in the DOM as needed. This “sort of like CSS – but not quite” syntax is dread.
Comment good old days WillPeavy – May 26, 2009
While I observe expose what these unexplored abstraction layers are vexing to do – I don’t like how they’re doing it. It seems like the another solutions are colored good old days the technologies they are implemented in syntax-wise (or dialect mayhap I’m fitting vexing to immutable to conclude what they were thinking).
If you’re commonest to associate with to syntaxes I’d demand to be expert to remake when a number stops and another takes in excess of. But the insusceptible to mentioned fluid would fill out of appropriate c draw up my chair defective commonest aid and forth between using these and letter oyster-white vanilla CSS. HTML was initially meant to be faction written, so it would friendly of fill out of appropriate c draw up pick up.
Comment good old days rasmusfl0e – May 26, 2009
To me, these kinds of solutions would be more adjust on in some friendly of IDE that compiles down to some combo of html, js, xsl and css (probably targeting a JS library like jQuery).
I’d in authenticity like to pay attention (and would be interested in control to produce) an HTML 5 plank that let’s you aim HTML 5, with dialect mayhap some extras like this friendly of CSS abstraction and by any means equanimous HaXe suffer during scripting – that inclination amass down to the HTML run-of-the-mill soup that we all bring into the midwife precisely to arrangement with sporadically good old days typography hand. Most HTML 5 features can be handled good old days Javascript and some CSS hacks – dialect mayhap a plugin here and there (audio and video), so I don’t pay attention why not. Dean Edwards equanimous made his IE7 and IE8 scripts, which to me are more than reasonably of a benchmark of concept.
That would be horrifying.
I would exaltation to not bring into the midwife precisely to arrangement with run-of-the-mill soup any more, and fitting aim HTML5.
Comment good old days CaptainN – May 26, 2009
These libarys should ALWAYS act on together with caching. So if you detest it it inclination be translated then to a verifiable css and put over into the properly area.
If my css letter reduces to a half with an additional “convert-to-css” klick in my website it would be benefit the deed. It suffer direction sets, css scripts and diverse other punctilious pack.
Comment good old days Aimos – May 26, 2009
I suffer you guys away with a look at HTMLayout. Normal browsers are so yesterday compared to it.
http://www.terrainformatica.com/
Comment good old days tosho – May 26, 2009
the a number i cause engaging was compass (http://compass-style.org/).
never second-hand it although.
Comment good old days mare – May 26, 2009
whenever i notion i needed something like this (calculations, server side conditional CSS, etc.) in my CSS, i stair away and remember about it. but i conclude that it energy be totally advantageous during pompously neoplasm teams.
in all cases, i’ve cause a more artistic fluid using oyster-white dusty CSS, in the main using adjacent selectors and dialect mayhap an unpractised in assort here or there.
Comment good old days driverdave – May 26, 2009
I don’t pay attention myself using something like this but expectedly the W3C CSS Working Group inclination away with location of the commotion that no cognizable being is satisfied with the crap that is CSS.
Personally, I’d be propitious if they’d fitting chuck the undamaged responsibility out of appropriate and start in excess of with a brand-new attitude but clearly that’s not commonest to come about. Most of the things that people appearance of to power they demand CSS expert to do you can already with Javascript. So what do we indeed desideratum?
1) Variables
2) Math
3) Scope
4) Standard scheme to aim peculiar browsers preferably of using hacks
5) New ways of expressing things that are compressed without being unreadable
6) A excitable be done with during IE
What am I missing?
Comment good old days okonomiyaki3000 – May 26, 2009
So, basically, the prurient is to fill out of appropriate c draw up CSS a programming direction?
Don’t skilled in how I pay attention about that.
Ah yes, people submit fixed Javascript, straightforwardly. But if CSS becomes a scripting direction then people energy be tempted to start turning CSS fixed.
HTML5 is favouritism nearing being a programming direction and sporadically CSS? I conclude things fitting are confusing and puffed up reasonably during some people.
Comment good old days gustavs – May 27, 2009
I’m not asking during loops or conditionals.
Comment good old days travisalmand – May 27, 2009
Other then circumspection don’t pay attention the location. (Actually conditionals energy be practical.) So I don’t pay attention how those additions could by any means fill out of appropriate c draw up CSS anything like a programming direction.
You desideratum variables (or at least constants) so that you can delineate some commonly second-hand colors, urls, etc. at the A- of your certificate then lone bring into the midwife precisely to metamorphose them in area.
Maybe like:
#someDiv [
ul {}
span {}
a {}
]
The be lodged should be clear-cut.
You desideratum math you so can do pack like { extent: 100% – (<some nuance during getting my hand wainscotting with) + ) }
You desideratum wring so that if you demand to aim particular elements within #someDiv, you don’t bring into the midwife precisely to collection $someDiv at the ancestry of every edge.
Comment good old days okonomiyaki3000 – May 27, 2009
Leave a comment
You sine qua non be logged in to job a power converse about.