You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Css.elm
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -238,14 +238,14 @@ to convert this value to a normal `Html` value, it adds two elements to the DOM:
238
238
To sum up what's happening here:
239
239
240
240
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.
242
242
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
243
243
244
244
This is how the `css` attribute is able to support things like `hover` and media
245
245
queries.
246
246
247
247
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
0 commit comments