Comments (13)
50 billion was exaggerating. The simple act of @import 'axis/animation
pulls in 245,000 characters...
Definitely like the idea of animation but I'm going to have to rework this.
from axis.
Yep, again gzip takes it down to a very small size because a lot of them are repeated. But if you want to separate out animations that would be fine. The only issue in here is that the @keyframes
does expand to all browser prefixes, but does not expose any variable that indicates "current prefix" so all declarations have all properties prefixed for all browsers. We opened an issue in stylus for this a while ago but it hasn't been closed out yet to my knowledge
from axis.
Think I ran into this with media queries and was able to fix it with unquote.
I really need to get hip to this gzip thing and see how profitable it'd be to grab h5bp's .htaccess for Jeet
from axis.
Yeah I don't see a downside in it. I'll probably port the animation stuff to it's own repo just to try to keep doing the modular thing with everything.
from axis.
Yeah I'm cool with moving animation to its own project if you want. I never use those anyway, usually write custom ones.
from axis.
Might actually jump on an Effeckt.css port to Stylus instead.
from axis.
I like that idea a lot. If you could port it, would be happy to include it with axis instead of what we have now
from axis.
Effeckt is so damn ugly. Seriously, the more I look at it the more I'm baffled people like Paul Irish and Chris Coyier worked so hard on it.
Might just make my own animation mixin library.
from axis.
Hahah ugly design on the alpha demo page doesn't mean that the actual animations are bad. Just re-skin the demo page if you want it to look nicer.
from axis.
haha, no not the demo page XD
I meant the code and the insane amount of classes and data-
attributes it's using.
Seems like with preprocessors we could turn a lot of that crap into more flexible mixins.
from axis.
Ah yeah you're right, why are they not mixins? Seems weird that they wouldn't default to this. Maybe fork it and convert them into mixins?
from axis.
So far as I can tell, the only difference in the official SCSS port is that they're nesting classes... https://github.com/h5bp/Effeckt.css/tree/gh-pages/scss
from axis.
Yeah this is no good. The concept is great, but banking on classes is not. That's what we have preprocessors for...
from axis.
Related Issues (20)
- fix table.styl with stylus 0.42.3 and axis 0.5.2. HOT 3
- Newer clearfix HOT 2
- Support for HTML5 input elements HOT 3
- Checkboxes HOT 2
- Material Design HOT 1
- PostCSS Port HOT 8
- Axis Range overwrites Stylus Range HOT 18
- Conflicts with PostCSS processor
- relative behaviour
- Upgrade Normalize.css to ^4.0.0
- Text-and box-shadow helper and presets HOT 3
- meyer-reset / normalize / sanitize HOT 7
- Default font stack HOT 2
- 1.0 Buttons HOT 2
- Drop IE 9.0 HOT 4
- Option to remove round borders HOT 12
- Improve documentation examples HOT 7
- how can i use with webpack? HOT 2
- Rewrite of grid-area values HOT 4
- Got "SyntaxError: Invalid or unexpected token" in 2.0.0-alpha1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axis.