Giter Club home page Giter Club logo

patches's Introduction

Patches

A way to make styles easy

By a 12 year old student programmer👦

If you ever visited a website with a pattern, you'll know this. Patterns like this-

PHOTO

Now this requires nothing more than adding a class...with patches

You can make everything-

  • Squares
  • Rhombuses
  • Triangles
  • Pentagon
  • Hexagon
  • Heptagon
  • Octagon
  • Nonagon
  • Decagon
  • Circles
  • Stars

...and much more

With nice looking animations 😃😃

And also 'cause I know writing CSS is 😴

This is the true essence of PATCHES.


Docs

Create a waffle 🥪😋

First note it is not only to create goodies. It was created to make WONDERFUL grid designs with cool animations

Step 1: Create a HTML file

Step 2: Download and link the CSS file you can find HERE

Step 3: In your HTML, type the following code(make sure you use emmet)

<div class="grid"></div>

Inside it, write the emmet code

(.squares)*64

Now you'll have a square grid like this-

PHOTO

Step 4: Now let's make it like a circle

In the div of class of grid, add the class circ to make it a circle

PHOTO

Step 5: Make the waffle color delicious🤤

In the CSS in :root change the colors like this-

:root {
  --background-color: #c9a52c;
  --rows: 8;
  --columns: 8;
  --width: 15rem;
  --height: 15rem;
  --gap: 4%;
  --color: none;
  --gradient-color: linear-gradient(to right bottom, #d2691e, #a52a2a);
}

Think it's ready!!!

Image

We can also make it rotate, shape it like a triangle, everything you can IMAGINE.

Just by adding classes....

patches's People

Contributors

raghavgulia avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.