All Projects → dhanishgajjar → Css Flags

dhanishgajjar / Css Flags

Licence: mit
A collection of pure CSS flags, all single divs.

Projects that are alternatives of or similar to Css Flags

Gulp Starter Kit
A simple Gulp 4 Starter Kit for modern web development.
Stars: ✭ 134 (+48.89%)
Mutual labels:  gulp, scss, pug
Circle Flags
A collection of 300+ minimal circular SVG country flags
Stars: ✭ 139 (+54.44%)
Mutual labels:  flags, design, icons
Portfolio one Page Template
Free responsive one page portfolio template
Stars: ✭ 106 (+17.78%)
Mutual labels:  gulp, css3, pug
Compile Hero
🔰Visual Studio Code Extension For Compiling Language
Stars: ✭ 169 (+87.78%)
Mutual labels:  gulp, scss, pug
Fe
前端热门文章阅读
Stars: ✭ 174 (+93.33%)
Mutual labels:  gulp, library, css3
design-studio one-page-template
Free responsive flat designed one page template
Stars: ✭ 67 (-25.56%)
Mutual labels:  gulp, css3, pug
Gulp Pug Starter
Frontend development with pleasure. Pug + SCSS version
Stars: ✭ 228 (+153.33%)
Mutual labels:  gulp, scss, pug
Nth Start Project
Startkit for HTML / CSS / JS pages layout.
Stars: ✭ 578 (+542.22%)
Mutual labels:  gulp, scss, pug
Html Sass Babel Webpack Boilerplate
Webpack 4 + Babel + ES6 + SASS + HTML Modules + Livereload
Stars: ✭ 35 (-61.11%)
Mutual labels:  scss, css3
Lofi Player
🎧 A Lofi Player built with HTML, CSS and Javascript using Parcel as Module Bundler https://lakscastro.github.io/lofi-player
Stars: ✭ 38 (-57.78%)
Mutual labels:  scss, css3
Hexo Theme Snark
An hexo theme with lofter style
Stars: ✭ 45 (-50%)
Mutual labels:  scss, pug
Magic
CSS3 Animations with special effects
Stars: ✭ 7,253 (+7958.89%)
Mutual labels:  gulp, css3
Ikonograph
⚠️ This project is no longer mantained
Stars: ✭ 13 (-85.56%)
Mutual labels:  library, icons
Vscode Icons
Custom Visual Studio Code Icons
Stars: ✭ 1,021 (+1034.44%)
Mutual labels:  design, icons
Font Awesome Animation
Simple animations using FontAwesome and some CSS3.
Stars: ✭ 856 (+851.11%)
Mutual labels:  scss, css3
Generator Dhboilerplate
Boilerplate made by David Hellmann
Stars: ✭ 54 (-40%)
Mutual labels:  gulp, scss
Genesis Starter Theme
This repo is no longer maintained. The starter theme can now be found at:
Stars: ✭ 57 (-36.67%)
Mutual labels:  gulp, scss
Gulp Frontnote
スタイルガイドジェネレーターFrontNoteのGulpプラグイン
Stars: ✭ 7 (-92.22%)
Mutual labels:  gulp, scss
Root Bootstrap 4 Admin Template With Angularjs Angular 2 Support
Root is Boostrap 4 Admin Template with Angular 2 and AngularJS support
Stars: ✭ 54 (-40%)
Mutual labels:  scss, css3
Livro Sem Apego
📚 Um site de doação de livros, sem fins lucrativos! o/
Stars: ✭ 58 (-35.56%)
Mutual labels:  gulp, pug

Single Div Pure CSS Flags

Project Supported By CSSGrid.io Project Supported By Flexbox.io

Using the Library

Instructions for Developers

IMAGE ALT TEXT HERE

How to use the library

Grab the compiled CSS from the ./dist folder

For the purpose of this personal project, first, I have an empty div with the class of "flag"

<div class="flag"></div>

The flag class contains these fixed properties

.flag {
  width: 180px;
  height: 120px;
  overflow: hidden;
  border: 1px solid #efefef;
}

There is a class for each country that you can chain after the .flag class

for example

<div class="flag brazil"></div>

Most of the flags were not possible in a single div, so they are not included, but here are the ones that are:

Class Names
.algeria
.armenia
.austria
.azerbaijan
.bahamas
.bahrain
.bangladesh
.barbados
.belgium
.benin
.bolivia
.botswana
.brazil
.bulgaria
.burkina-faso
.burundi
.cameroon
.central-african-republic
.chad
.chile
.colombia
.comoros
.costa-rica
.cote-d-ivoire
.cuba
.czech-republic
.democratic-republic-of-congo
.denmark
.djibouti
.east-timor
.estonia
.finland
.france
.gabon
.the-gambia
.germany
.ghana
.greece
.guinea
.guinea-bissau
.guyana
.hungary
.iceland
.india
.indonesia
.iran
.iraq
.ireland
.israel
.italy
.jamaica
.japan
.kuwait
.laos
.latvia
.liberia
.libya
.lithuania
.luxembourg
.madagascar
.malaysia
.maldives
.mali
.mauritania
.mauritius
.monaco
.myanmar
.namibia
.nauru
.nepal
.the-netherlands
.niger
.nigeria
.north-korea
.norway
.pakistan
.palau
.panama
.peru
.phillippines
.poland
.qatar
.republic-of-china
.republic-of-congo
.romania
.russia
.rwanda
.saint-kitts-and-nevis
.saint-lucia
.sao-tome-and-principe
.senegal
.seychelles
.sierra-leone
.somalia
.south-sudan
.sudan
.suriname
.sweden
.switzerland
.syria
.tanzania
.thailand
.togo
.tonga
.trinidad-and-tobago
.tunisia
.turkey
.ukraine
.uae
.the-united-kingdom
.vietnam
.western-sahara
.yemen

Instructions for Developers

I am using Pug, Sass and Parcel

Folder Structure is simple.

├── node_modules
├── scss
    ├── flags
        ├── _a.scss
                |
        ├── all partials a - y
                |
        ├── _y.scss
    ├── _base.scss
    ├── _mixins.scss
    ├── _variables.scss
    ├── style.css
├── .gitignore
├── index.pug
├── package-lock.json
├── package.json
├── README.md

To install node modules run

npm install

I am using Parcel.

parcel index.pug

will start a local server and watch over sass and pug files

parcel build index.pug

will publish the build to ./dist folder

If you want to contribute, feel free to make a pull request. Or if you see any issues, you can open an issue.


Twitter: @dhanishgajjar

Instagram: @dhanishgajjar

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].