Search
 
SCRIPT & CODE EXAMPLE
 

CSS

spinner

<div className='loadingSpinner'></div>


.loadingSpinner {
  width: 64px;
  height: 64px;
  border: 8px solid;
  border-color: #00cc66 transparent;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}
@keyframes spin{
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
Comment

Spinner

      <div className='loadingSpinnerContainer'>
      <div className='loadingSpinner'></div>
      
      //CSS
      .loadingSpinner {
  width: 64px;
  height: 64px;
  border: 8px solid;
  border-color: #00cc66 transparent #00cc66 transparent;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}
@keyframes spin{
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
Comment

spinner

.spinner {
    width: 70px;
    height: 70px;
    border: 8px solid lightblue;
    border-top-color: blue ;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.spinner>div{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.spinner-dual {
    width: 70px;
    height: 70px;
    border: 8px solid transparent;
    border-top-color: blue;
    border-bottom-color: blue;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;  
}

.spinner-dual>div{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    animation: spin .8s reverse linear infinite;
}

.spinner-fast {
    width: 70px;
    height: 70px;
    border-top: 5px solid blue;
    border-right: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-fast>div{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    animation: spin 3s linear infinite;
}

.spinner-triple {
    width: 70px;
    height: 70px;
    border: 5px solid transparent;
    border-top-color: blue ;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.spinner-triple::before {
    content: "";
    border: 5px solid transparent;
    border-top-color: lightskyblue ;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    animation: spin 2s linear infinite;
}

.spinner-triple::after {
    content: "";
    border: 5px solid transparent;
    border-top-color: lightblue;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    animation: spin 1s linear infinite;
}

.spinner-triple>div{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
Comment

PREVIOUS NEXT
Code Example
Css :: fullcalendar react 
Css :: flex-direction 
Css :: css tekst bold 
Css :: css tricks 
Css :: box align css 
Css :: fixed with 
Css :: how to change the size of a style="text-align: center;" 
Css :: media query min and max width for all devices 
Css :: css create array 
Css :: calculadora 
Typescript :: @ts ignore file 
Typescript :: sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread 
Typescript :: matplotlib subplots size 
Typescript :: react children 
Typescript :: Do not use "// @ts-ignore" comments because they suppress compilation errors 
Typescript :: elements with the button role must be focusable 
Typescript :: g.ps1 cannot be loaded because running scripts is disabled on this system. 
Typescript :: add column if not exists postgresql 
Typescript :: sort array by date typescript 
Typescript :: cra template-typescript cmd 
Typescript :: react typescript onclick stop propagation 
Typescript :: No safe area insets value available. Make sure you are rendering `<SafeAreaProvider` at the top of your app. 
Typescript :: Can I bypass the Oustanding Receipts / Outstanding Payments functionality at v14? odoo 
Typescript :: Warning: initial exceeded maximum budget. angular 
Typescript :: apex charts colors 
Typescript :: your account has reached its concurrent builds limit 
Typescript :: email validation pattern angular 
Typescript :: how to view documents folder simulator swift 
Typescript :: how to get the value of an input in typescript 
Typescript :: voting results 2020 live 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =