Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://erikflowers.github.io/weather-icons/
215 Weather Themed Icons and CSS
https://erikflowers.github.io/weather-icons/
Last synced: 16 days ago
JSON representation
215 Weather Themed Icons and CSS
- Host: GitHub
- URL: https://erikflowers.github.io/weather-icons/
- Owner: erikflowers
- Created: 2013-06-29T17:45:23.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-03-19T16:35:03.000Z (over 1 year ago)
- Last Synced: 2024-05-18T15:44:39.482Z (6 months ago)
- Language: CSS
- Homepage: https://github.com/erikflowers/weather-icons
- Size: 70.7 MB
- Stars: 6,865
- Watchers: 191
- Forks: 850
- Open Issues: 104
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-icons - Weather Icons - A set of weather-themed icons for meteorology-related projects. (Specific Use Case Icon Libraries)
- awesome-icons - Weather Icons - A set of weather-themed icons for meteorology-related projects. (Specific Use Case Icon Libraries)
README
# Weather Icons
## 222 Weather Themed Icons and CSS
Weather Icons is the only icon font and CSS with 222 weather themed icons, ready to be dropped right into [Bootstrap](http://www.getbootstrap.com), or any project that needs high quality weather, maritime, and meteorological based icons!
Get started at [https://erikflowers.github.io/weather-icons/](https://erikflowers.github.io/weather-icons/)!
![Icon Preview](http://i.imgur.com/XmZW2q3.png)
## Basic Usage
Place the 5 font files and the main `weather-icons.min.css` file in your project, with the assumption that the fonts are located up `../` from your CSS directory.
The icons are displayed by using an `i` element and adding the base class `wi` and then the icon class you want, such as `day-sunny`. This then looks like ``.
To add a modifier, include the class you want after the icon name, which looks like ``. You can flip, rotate, or add a fixed width. See it all at [https://erikflowers.github.io/weather-icons/](https://erikflowers.github.io/weather-icons/).
## API Usage
This set includes companion CSS files for popular weather service API. Presently there are mappings for Forecast.io, Open Weather Map, World Meteorological Organization, Weather Underground, and Yahoo. Check the [API List](https://erikflowers.github.io/weather-icons/api-list.html) to see the class names.
## Wind Usage
To use the wind indicators, you must also use `weather-icons-wind.min.css` along with the default CSS file. To display 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 `` 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!## Credit
The icon designs are originally by [Lukas Bischoff](http://www.twitter.com/artill). Icon art for v1.1 forward, HTML, Less, and CSS are by [me (Erik)](http://www.helloerik.com).## Licensing
* Weather Icons licensed under [SIL OFL 1.1](http://scripts.sil.org/OFL)
* Code licensed under [MIT License](http://opensource.org/licenses/mit-license.html)
* Documentation licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0)