Skip to content

Commit 6c76ec2

Browse files
author
Richard Feldman
authored
Merge pull request #469 from dvberkel/correct-attiibute
Correct attiibute into attribute
2 parents 1f3f8f6 + 46c3bdf commit 6c76ec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Css.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,14 @@ to convert this value to a normal `Html` value, it adds two elements to the DOM:
238238
To sum up what's happening here:
239239
240240
1. When you define values using the `css` attribute, elm-css generates a classname and some style information.
241-
2. That classname gets added to the element receiving the attiibute, and the style information gets stored in the `Html.Styled` value which wraps that element.
241+
2. That classname gets added to the element receiving the attribute, and the style information gets stored in the `Html.Styled` value which wraps that element.
242242
3. Calling `toUnstyled` converts this `Html.Styled` value to a normal `Html` value which represents both the requested element as well as a `<style>` element
243243
244244
This is how the `css` attribute is able to support things like `hover` and media
245245
queries.
246246
247247
If you give an element multiple `css` attributes, they will **not** stack. For
248-
example, in this code, only the second `css` attiibute will be used. The first
248+
example, in this code, only the second `css` attribute will be used. The first
249249
one will be ignored.
250250
251251
button

0 commit comments

Comments
 (0)