From 0a032101d33a52f7265b02d4f123c6abec350756 Mon Sep 17 00:00:00 2001 From: Erik Flowers Date: Tue, 9 Aug 2016 09:40:55 -0700 Subject: [PATCH] Update index.html --- index.html | 70 +++++++++++++++++++++++++++--------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/index.html b/index.html index 268a5be..4fb57b1 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ - + wi- @@ -1255,138 +1255,138 @@

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 towards-0-deg class, or if you prefer to use from, then you would use from-180-deg.

There are 360 classes for each in 1 degree increments for maximum precision.

-

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"

+

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 towards-23-deg"

NOTE: You must include the additional stylesheeet, weather-icons-wind.css to use the wind icons and API mappings.

-
wi-wind.towards-0-deg
+
towards-0-deg
f0b1
-
wi-wind.towards-23-deg
+
towards-23-deg
f0b1
-
wi-wind.towards-45-deg
+
towards-45-deg
f0b1
-
wi-wind.towards-68-deg
+
towards-68-deg
f0b1
-
wi-wind.towards-90-deg
+
towards-90-deg
f0b1
-
wi-wind.towards-113-deg
+
towards-113-deg
f0b1
-
wi-wind.towards-135-deg
+
towards-135-deg
f0b1
-
wi-wind.towards-158-deg
+
towards-158-deg
f0b1
-
wi-wind.towards-180-deg
+
towards-180-deg
f0b1
-
wi-wind.towards-203-deg
+
towards-203-deg
f0b1
-
wi-wind.towards-225-deg
+
towards-225-deg
f0b1
-
wi-wind.towards-248-deg
+
towards-248-deg
f0b1
-
wi-wind.towards-270-deg
+
towards-270-deg
f0b1
-
wi-wind.towards-293-deg
+
towards-293-deg
f0b1
-
wi-wind.towards-313-deg
+
towards-313-deg
f0b1
-
wi-wind.towards-336-deg
+
towards-336-deg
f0b1
-
wi-wind.from-180-deg
+
from-180-deg
f0b1
-
wi-wind.from-203-deg
+
from-203-deg
f0b1
-
wi-wind.from-225-deg
+
from-225-deg
f0b1
-
wi-wind.from-248-deg
+
from-248-deg
f0b1
-
wi-wind.from-270-deg
+
from-270-deg
f0b1
-
wi-wind.from-293-deg
+
from-293-deg
f0b1
-
wi-wind.from-313-deg
+
from-313-deg
f0b1
-
wi-wind.from-336-deg
+
from-336-deg
f0b1
-
wi-wind.from-0-deg
+
from-0-deg
f0b1
-
wi-wind.from-23-deg
+
from-23-deg
f0b1
-
wi-wind.from-45-deg
+
from-45-deg
f0b1
-
wi-wind.from-68-deg
+
from-68-deg
f0b1
-
wi-wind.from-90-deg
+
from-90-deg
f0b1
-
wi-wind.from-113-deg
+
from-113-deg
f0b1
-
wi-wind.from-135-deg
+
from-135-deg
f0b1
-
wi-wind.from-158-deg
+
from-158-deg
f0b1
@@ -1399,7 +1399,7 @@

The purpose of this is to accommodate applications that prefer to point to where the wind is originating from (arrow points against the wind), or pointing where the wind is blowing (arrow points in direction of wind). You can decide which fits your application best and use the class that matches.

There are 16 classes each for precision when using cardinal directions.

-

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"

+

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 wi-from-e"

NOTE: You must include the additional stylesheeet, weather-icons-wind.css to use the wind icons and API mappings.