mirror of
https://github.com/erikflowers/weather-icons.git
synced 2025-12-14 05:04:56 -07:00
Adding isntruction
This commit is contained in:
parent
43feb2c609
commit
7c822b5902
@ -1254,6 +1254,9 @@
|
||||
<div class="info-icon"><i class="fa fa-info-circle"></i></div>
|
||||
<p>The classes for the wind direction indicator is split into 2 options. You can choose towards or from. Towards points to the degree, zero at the top. From points directly away from the degree. This means, if you want the indicator to represent "wind is coming from the south", you can use the <code>towards-0-deg</code> class, or if you prefer to use from, then you would use <code>from-180-deg</code>.</p>
|
||||
<p>There are 360 classes for each in 1 degree increments for maximum precision.</p>
|
||||
<p></p>
|
||||
<p>To make a wind icon appear, you need to add 3 classes, the base icon class, the wind icon class, and then the direction you want it to face: class="wi wi-wind-direction wi-from-e"</p>
|
||||
|
||||
<p></p>
|
||||
<p>NOTE: You must include the additional stylesheeet, <code>weather-icons-wind.css</code> to use the wind icons and API mappings.</p>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user