Comments (3)
I would also be interested in seeing the -pie-background rule supported somehow in nib, but I wouldn't want want to see those rules ignored completely if it meant I couldn't use variable names for the color values in the -pie-background's gradient.
from nib.
I think it would be awesome if Nib added -pie-background
automagically (in cases for background
that makes sense). This feature should be enabled by a global config variable use-css3pie
.
from nib.
The above pull request fixes this issue. Possible quick fix:
// css3pie.styl file:
css3pie-path = "PIE.htc"
pie()
if css3pie-path
behavior url(css3pie-path)
pie-linear-gradient(start, stops...)
background linear-gradient(start, stops)
-pie-background unquote("linear-gradient(%s, %s)" % (start stops))
// Usage:
body
pie-linear-gradient top, 0% #46BFD3, 4% #3398B7, 100% #287790
pie()
.fancy-box
border-radius 5px
pie()
from nib.
Related Issues (20)
- How to pass multiple animations to `animation()` in `vendor.styl`?
- Odd new error building flexbox grid framework with nib
- width: max-content doesn't come with webkit and moz prefix HOT 4
- normalize.styl HOT 1
- Any plans for maintenance? HOT 7
- "Size" utility conflicts with @page rule.
- Not want to use reset.styl
- transition mixin breaks surrounding code
- nsp vulnerability via stylus
- broken with only one level of relative path
- nib and Stylus variables do not work well together HOT 3
- use nib from package.json? HOT 1
- Document placeholder mixin
- exception error upon activating revolution slider 5.4 HOT 4
- Website link broken HOT 4
- Is there any sucessor or anyone with an alternative to NIB? HOT 1
- Please upgrade stylus dependency version to fix NodeJS 14 warnings HOT 8
- Would someone please update the npm version? HOT 8
- Release 1.1.3 with stylus dependency fixed HOT 3
- Importing nib spews warnings about "Accessing non-existent property '<property>' of module exports inside circular dependency" HOT 1
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 nib.