UNPKG

react-spinners-css

Version:

[![bit components](https://img.shields.io/badge/bit_components-14-6e3991)](https://bit.cloud/joshk/react-spinners-css) [![npm version](https://badge.fury.io/js/react-spinners-css.svg)](https://www.npmjs.com/package/react-spinners-css) [![GitHub stars](htt

37 lines (36 loc) 691 B
.lds-facebook { display: inline-block; position: relative; width: 80px; height: 80px; } .lds-facebook div { display: inline-block; position: absolute; left: 10%; width: 20%; background: #fff; animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite; } .lds-facebook div:nth-child(1) { left: 10%; animation-delay: -0.24s; } .lds-facebook div:nth-child(2) { left: 40%; animation-delay: -0.12s; } .lds-facebook div:nth-child(3) { left: 70%; animation-delay: 0; } @keyframes lds-facebook { 0% { top: 10%; height: 80%; } 50%, 100% { top: 30%; height: 40%; } }