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

54 lines 1.01 kB
.lds-heart { display: inline-block; position: relative; width: 80px; height: 80px; transform: rotate(45deg); transform-origin: 40px 40px; } .lds-heart > div { top: 32px; left: 32px; position: absolute; width: 32px; height: 32px; background: #fff; animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1); } .lds-heart .div-after, .lds-heart .div-before { content: " "; position: absolute; display: block; width: 32px; height: 32px; background: #fff; } .lds-heart .div-before { left: -24px; border-radius: 50% 0 0 50%; } .lds-heart .div-after { top: -24px; border-radius: 50% 50% 0 0; } @keyframes lds-heart { 0% { transform: scale(0.95); } 5% { transform: scale(1.1); } 39% { transform: scale(0.85); } 45% { transform: scale(1); } 60% { transform: scale(0.95); } 100% { transform: scale(0.9); } }