Skip to content

Commit 391e00b

Browse files
committed
Add explanation on mixin and adjustment of typing
1 parent a73be54 commit 391e00b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A collection of [SASS](http://sass-lang.com/ "SASS") mixins for your project.
2121
* [Rotate](#rotate)
2222
* [Transform-origin](#transform-origin)
2323
* [Gradients](#gradients)
24-
* [Linear Horizonta (simple)l](#linear-horizontal-simple)
24+
* [Linear Horizonta (simple)](#linear-horizontal-simple)
2525
* [Linear Horizontal (multiple)](#linear-horizontal-multiple)
2626
* [Linear Vertical (simple)](#linear-vertical-simple)
2727
* [Linear Vertical (multiple)](#linear-vertical-multiple)
@@ -131,23 +131,32 @@ A collection of [SASS](http://sass-lang.com/ "SASS") mixins for your project.
131131

132132
### Linear horizontal (simple)
133133

134+
Only start and end color.
135+
134136
```scss
135137
.class { @include horizontal-gradient(#666, #000); }
136138
```
137139

138140
### Linear horizontal (multiple)
141+
142+
The first color is the background color and the other are steps of gradient.
143+
139144
```scss
140145
.class { @include horizontal-gradient(#666, #000 50%, #444 80%); }
141146
```
142147

143148
### Linear vertical (simple)
144149

150+
Only start and end color.
151+
145152
```scss
146153
.class { @include vertical-gradient(#666, #000); }
147154
```
148155

149156
### Linear vertical (multiple)
150157

158+
The first color is the background color and the other are steps of gradient.
159+
151160
```scss
152161
.class { @include vertical-gradient(#666, #000 40%, #333 75%); }
153162
```

0 commit comments

Comments
 (0)