Code Monkey home page Code Monkey logo

css-loader's Introduction

CSS Loaders & Spinners

A general situation that we all might face while going through websites/apps is to wait for some progress or something to get loaded. A most simple solution in such scenarios is to use a loader or spinner to indicate users that something is loading in the background. Considering this, I tried to create a library having a collection of such loaders/spinners. There are no image dependencies for this library. It's developed using pure CSS. Hence it will load fast and is easily customizable too.

image

CSS loaders and spinner

HTML

Each loader has been build on top of a single html tag, so that it is easily portable. Hence more convenient to be intrgrate with projects

<div class="loader"></div>

Video Walkthrough

Video.Walkthrough.mp4

Please feel free to comment your suggestions and feedbacks on Product Hunt

CSS Loaders - Collection of different types of CSS loaders, spinners | Product Hunt

css-loader's People

Contributors

cssloaders avatar vineethtrv avatar yash-singh1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

css-loader's Issues

Redundant `box-sizing` property in location loader

.loader::after {
  content: '';  
  box-sizing: border-box; /**HERE**/
  width: 48px;
  height: 48px;
  left: 0;
  bottom: 0;
  position: absolute;
  border-radius: 50% 50% 0;
  border: 15px solid #FFF;
  transform: rotate(45deg) translate(0, 0);
  box-sizing: border-box; /**HERE**/
  animation: animMarker 0.4s ease-in-out infinite alternate;
}

Redundant `box-sizing` property in location loader

.loader::after {
  content: '';  
  box-sizing: border-box; /**HERE**/
  width: 48px;
  height: 48px;
  left: 0;
  bottom: 0;
  position: absolute;
  border-radius: 50% 50% 0;
  border: 15px solid #FFF;
  transform: rotate(45deg) translate(0, 0);
  box-sizing: border-box; /**HERE**/
  animation: animMarker 0.4s ease-in-out infinite alternate;
}

Special Request: can you perhaps clean this repo history..?

I cloned this repo the other day to look at things more closely, and the size of the download surprised me somewhat... Git downloaded 25MB-odd of objects, yet the actual project files after the download (excluding .git folder) was only 867KB.

digging a bit deeper, the merge from vineethtrv/marketing into master, and specifically the video files it contains, seems to be where this size jump is coming from.

as a test, I just performed the following steps:

  • created temp branch at commit f9388f4
  • cherry picked commit f51b9ae
  • hard reset master to the new commit (which removes the vineethtrv/marketing branch entirely)
  • execute git reflog expire --all --expire=now
  • execute git gc --prune=now --aggressive

after this, the entire repository dropped to only 1.44MB, .git folder included...


@vineethtrv, is there any chance you might be able to do this on your side and force push to remove these objects from GitHub as well? I'm just thinking it might be better to catch this now, before the project grows too much further and this becomes more difficult to do. ๐Ÿค”

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.