Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
compass-inline-gradient
Advanced tools
= Compass::InlineGradient
=== It's a alpha release. Next week (22 - 28 July 2013) I will release beta version with:
This is a compass/sass extension for inline(data uri) linear gradients with already image optimization. It converts css linear gradient syntax to data uri (base64) background-image.
=== Why use base64 background-images not native gradient? Native css gradients have a lot of prefixes, you must use filters for IE, IE9 and Opera needs inline svg gradients. Just look at {this}[http://www.colorzilla.com/gradient-editor/] terrible default example.
But data uri (base64) has a excellent support. It's just don't work in IE 7-, and work fine in other browsers: desktop, mobile, everywhere. You will have less code and more browser support. Use it!
N.B. inline-gradient function already using {TinyPNG API}[tinypng.org] for image optimization.
P.S. I need this function more than anyone :) Stay online with me!
== Installation
Add this line to your application's Gemfile:
gem 'compass-inline-gradient'
And then execute:
$ bundle
Or install it yourself as:
$ gem install compass-inline-gradient
== Usage
See example/example.html for more information and ready examples.
Code examples:
some-css-selector {
background-image: inline-gradient(linear, 200, 100, 90deg, red 0, green 100px, blue 200px);
}
some-css-selector {
background-image: inline-gradient(linear, 200, 70, to left, red 0%, orange 16.67%, yellow 33.34%, green 50%, lightskyblue 66.67%, blue 83.33%, violet 100%);
}
== Contributing
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)== Other Add issues, I always answer.
FAQs
Unknown package
We found that compass-inline-gradient demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.