Nib's gradient support is by far the largest feature it provides. Not only is the syntax extremely similar to what you would normally write, it's more forgiving, expands to vendor equivalents, and can even produce a PNG for older browsers with [node-canvas](http://github.com/learnboost/node-canvas).
The position mixins `absolute`, `fixed`, and `relative` provide a shorthand variant to what is otherwise three CSS properties. The syntax is as follows:
Clearfixing causes containers to expand to contain floated contents. A simple example is shown [here](http://learnlayout.com/clearfix.html).
The clearfix mixin takes no arguments and expands to a form that provides extremely robust browser support.
```stylus
.clearfix
clearfix()
```
```css
.clearfix {
zoom: 1;
}
.clearfix:before,
.clearfix:after {
content: "";
display: table;
}
.clearfix:after {
clear: both;
}
```
## Border Radius
Nib's `border-radius` supports both the regular syntax as well as augmenting it to make the value more expressive.
```stylus
button
border-radius 1px 2px / 3px 4px
button
border-radius 5px
button
border-radius bottom 10px
```
```css
button {
border-radius: 1px 2px/3px 4px;
}
button {
border-radius: 5px;
}
button {
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
}
```
## Responsive Images
The `image` mixin allows you to define a `background-image` for both the normal image, and a doubled image for devices with a higher pixel ratio such as retina displays. This works by using a @media query to serve an "@2x" version of the file.
The `overflow` property is augmented with a "ellipsis" value, expanding to what you see below.
```stylus
button
overflow ellipsis
```
```css
button {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
```
## Reset
Nib comes bundled with [Eric Meyer's style reset](eric-meyer) and [Nicolas Gallagher's _Normalize_](normalize) support and, you can choose to apply the global or any specifics that you wish. To view the definitions view [`reset.styl`](https://github.com/tj/nib/blob/master/lib/nib/reset.styl).