mirror of
https://github.com/erikflowers/weather-icons.git
synced 2025-10-12 07:22:11 -06:00
Update README.md
This commit is contained in:
parent
4ea9d6e5b4
commit
2715d3820e
@ -19,7 +19,11 @@ To add a modifier, include the class you want after the icon name, which looks l
|
||||
|
||||
## Wind Usage
|
||||
|
||||
To use the wind indicators, you must also use `weather-icons-wind.min.css` along with the default CSS file.
|
||||
To use the wind indicators, you must also use `weather-icons-wind.min.css` along with the default CSS file. To dispay a wind indicator, you must use the base class `wi` and `wi-wind`, and then include the towards/from direction you want, like `from-293-deg`. This ends up looking like . You can use any degree from 0 to 359 in this manner.
|
||||
|
||||
Note: A "from" class has the point of the arrow at the opposite end of the degree. For example, a "from 90 degrees" icon would point to the 270 degree mark, wheras a "towards 270 degrees" would point at the same 270 degree mark.
|
||||
|
||||
Included in the set as well are aliases to point to cardinal directions. They work the same as degrees, for example `<i class="wi wi-wind towards-sse"></i>` would be an arrow pointing to the South by Southeast (roughly 158 degrees).
|
||||
|
||||
## Contributing
|
||||
If you feel so inclined to add icon ideas, icon art, or other fixes/changes to how the package works, feel free to help!
|
||||
|
Loading…
x
Reference in New Issue
Block a user