Home

Awesome

SingleDivProject

Single Div CSS

☝️ One <div>. Many possibilities.

What is this?

This project focuses on exploring all the possibilities that can be done with a single <div> element using CSS only.

Why?

  1. Great way to explore CSS properties.
  2. Restrictions forces you to learn new properties and different ways to do particular styling.
  3. Because we can.

How to contribute?

Please go through the Contributions guidelines before sending a pull request.

Reddit threads

  1. What all can you do with a single <div> element using pure CSS? Check this out! on /r/programming/
  2. One <div>. Many possibilities. on /r/web_design/
  3. One <div>. Many possibilities. on /r/coolgithubprojects/

Demos

Designs

Project NameYour Name / Github HandleDemo/Gif
Batterymanrajgrover<img width="400" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Battery.gif" />
Hamburger Menumanrajgrover<img width="400" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Hamburger.png" />
Magnifying Glasskamito98<img width="400" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Magnifying Glass.png" />
New Instagram Logomanrajgrover<img width="400" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/instagram.jpg" />

Loaders

Project NameYour Name / Github HandleDemo/Gif
Awesome Dotsmanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Awesome%20Dots.gif" />
Bouncing Ballmtacchino<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Bouncing%20Ball.gif" />
Box LoaderAnubrataDS<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Box%20Loader.gif" />
Clockrichardj<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Clock.gif" />
Dot Loaderaaroniker<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Dot%20Loader.gif" />
Fill upmanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Fill%20up.gif" />
Iron FactoryNorthernTwig<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Iron%20Factory.gif" />
Revolving Circlesdcrousso<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Revolving%20Circles.gif" />
Revolving Dotsdcrousso<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Revolving%20Dots.gif" />
Ripple Effectmanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Ripple%20Effect.gif" />
Play Loadermanrajgrover<img width="350" src="https://raw.githubusercontent.com/manrajgrover/SingleDivProject/master/Assets/Play%20Loader.gif" />
Simple Spinnermanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Simple%20Spinner.gif" />
Simple Text Loadermanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Simple%20Text%20Loader.gif" />
Melting Ice Cream LoaderTaranVohra<img width="350" src="https://github.com/taranvohra/SingleDivProject/blob/master/Assets/Melting%20Ice%20Cream.gif" />

Flags

Project NameYour Name / Github HandleDemo
Armeniamanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Armenia.png" />
Austriamanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Austria.png" />
Bahamasmanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Bahamas.png" />
Bangladeshmanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Bangladesh.png" />
BelgiumAndyMathys<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Belgium.png" />
Brazilesganzerla<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Brazil.png" />
Bulgariamanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Bulgaria.png" />
Chileadavis46<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/chile.PNG" />
CanadaScott Kaye<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Canada.png" />
Cameroon1forh<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Cameroon.png" />
ColombiaDHernandex<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Colombia.png" />
Czech Republicfadilf<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/CzechRepublic.png" />
Denmarkjacksarick<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Denmark.png" />
EnglandTheWebartist<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/England.png" />
Finlandjacksarick<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Finland.png" />
Francemanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/France.png" />
Germanymanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Germany.png" />
Greecejdhoek<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Greece.png" />
Hungaryjabbalaci<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Hungary.png" />
Indiafadilf<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/India.png" />
Indonesiakaruna<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Indonesia.png" />
Irelandskeevey<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Ireland.png" />
Israelhillai<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Israel.png" />
Italymanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Italy.png" />
Ivory Coastskeevey<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/IvoryCoast.png" />
Japanmanrajgrover<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Japan.png" />
Laosjamcgrath<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Laos.png" />
Latviavasiljevs<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Latvia.png" />
Lithuaniafosron<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Lithuania.png" />
Nigeriaskeevey<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Nigeria.png" />
PakistanObaidAshraf<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Pakistan.png" />
Polandmschweichler<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Poland.png" />
Puerto Ricoaallfredo and jorluiseptorPuertoRico
Russiaad222kr<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Russia.png" />
SenegalDeath259<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Senegal.png" />
South AfricaDHernandex<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/South%20Africa.png" />
Sierra Leonets96<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/SierraLeone.png" />
Surinameadavis46<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Suriname.png" />
Swedenjacksarick<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Sweden.png" />
Switzerlandthijswerrij<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Switzerland.png" />
SyriaiSWORD<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Syria.png" />
Taiwanamowu<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Taiwan.png" />
Texasdomspad<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Texas.png" />
Thailandjamcgrath<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Thailand.png" />
The Netherlandsjdhoek<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Netherlands.png" />
Turkeymehmetuken<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Turkey.png" />
United Kingdomjdhoek<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/UK.png" />
United States of Americajdhoek<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/USA.png" />
YemenDeath259<img width="350" src="https://github.com/manrajgrover/SingleDivProject/blob/master/Assets/Yemen.png" />

Tools

Project NameYour Name / Github HandleDemo/Gif
Box Breathinggnclmorais<img width="350" src="https://raw.githubusercontent.com/manrajgrover/SingleDivProject/master/Assets/BoxBreathing.gif" />

License

MIT © Manraj Singh