This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Adds a linear gradient with the background coral fallback. The | |
// last parameter is optional | |
// | |
// background: gradient(top, #FFFFFF, #000000, 50%); | |
// | |
gradient() { | |
if current-property { | |
// the fallback for IE | |
add-property(current-property[0], mix(arguments[1], arguments[2], arguments[3]?arguments[3]:50%)); | |
linear-gradient(arguments[0], arguments[1], arguments[2]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Adds the vendor prefixes for calc. | |
// | |
// Usage: | |
// width: calc('30% - 10px'); | |
// If variables are needed they need to be specified this way. | |
// width: calc('40% \- %s' % (10px)); | |
calc() { | |
// vendors to be used by this function | |
calc-vendors = webkit moz; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Allows setting the font-smoothing option for styling better fonts. Font | |
// smoothing is specially valuable with custom fonts depending on the background | |
// color. Accepted values are none, antialiased, subpixel-antialiased. | |
// | |
// Usage: | |
// font-smoothing: antialiased; | |
// | |
// Compatibility untested. | |
font-smoothing() { | |
if current-property { |