An open API service indexing awesome lists of open source software.

https://github.com/leoglme/flag-scss-spritesheet

scss/sass country flag sprite sheet generator.
https://github.com/leoglme/flag-scss-spritesheet

country-codes country-flags css flags json sass sass-language scss

Last synced: 11 months ago
JSON representation

scss/sass country flag sprite sheet generator.

Awesome Lists containing this project

README

          


logo quila

Scss Flag Generator


scss/sass countries flags sprite sheet generator.

![Language](https://img.shields.io/badge/language-json-green.svg?style=flat)
![Language](https://img.shields.io/badge/language-scss-ce679a.svg?style=flat)

hero

> Source code for the demo page can be found on the [flag-scss-spritesheet repo](https://github.com/Leoglme/flag-scss-spritesheet)

### Contents

- [Documentation](#documentation)

## Install

```sh
$ git clone https://github.com/Leoglme/flag-scss-spritesheet
```

1. Download the sprite sheet **flags.png** and place it in your directory.
2. At the beginning of the **scss file** replace the value of the **$spriteSheetUrl** variable with the **path** of the **image**
```scss
$spriteSheetUrl: '/path/to/images/flags.png';
```
4. Compile SCSS file and linking **CSS to HTML**.

```html


Example



```
5. Example of use

```html









```

## License

Copyright (c) 2021 [Dibodev](https://github.com/leoglme)