非常好看的CSS加载中特效,引用css文件既可用

非常好看的CSS加载中特效,引用css文件既可用_第1张图片
非常好看的CSS加载中特效,引用css文件既可用_第2张图片
非常好看的CSS加载中特效,引用css文件既可用_第3张图片
非常好看的CSS加载中特效
demo效果源码:

DOCTYPE html5>
<head>
 
  <link rel="stylesheet" type="text/css" href="demo.css"/>
  <link rel="stylesheet" type="text/css" href="loaders.css"/>
head>
<body>
  <main>
    <header>
      <div class="left">
        <h1>Loaders<span>.cssspan>h1>
        <h2>Delightful and performance-focused pure css loading animations.h2>
      div>
      <div class="right"><a href="https://github.com/ConnorAtherton/loaders.css" class="btn right">View on Githuba>div>
    header>
    <div class="loaders">
      <div class="loader">
        <div class="loader-inner ball-pulse">
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-pulsep>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-grid-pulse">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-grid-pulsep>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-clip-rotate">
          <div>div>
        div><span class="tooltip">
          <p>ball-clip-rotatep>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-clip-rotate-pulse">
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-clip-rotate-pulsep>span>
      div>
      <div class="loader">
        <div class="loader-inner square-spin">
          <div>div>
        div><span class="tooltip">
          <p>square-spinp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-clip-rotate-multiple">
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-clip-rotate-multiplep>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-pulse-rise">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-pulse-risep>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-rotate">
          <div>div>
        div><span class="tooltip">
          <p>ball-rotatep>span>
      div>
      <div class="loader">
        <div class="loader-inner cube-transition">
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>cube-transitionp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-zig-zag">
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-zig-zagp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-zig-zag-deflect">
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-zig-zag-deflectp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-triangle-path">
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-triangle-pathp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-scale">
          <div>div>
        div><span class="tooltip">
          <p>ball-scalep>span>
      div>
      <div class="loader">
        <div class="loader-inner line-scale">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>line-scalep>span>
      div>
      <div class="loader">
        <div class="loader-inner line-scale-party">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>line-scale-partyp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-scale-multiple">
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-scale-multiplep>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-pulse-sync">
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-pulse-syncp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-beat">
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-beatp>span>
      div>
      <div class="loader">
        <div class="loader-inner line-scale-pulse-out">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>line-scale-pulse-outp>span>
      div>
      <div class="loader">
        <div class="loader-inner line-scale-pulse-out-rapid">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>line-scale-pulse-out-rapidp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-scale-ripple">
          <div>div>
        div><span class="tooltip">
          <p>ball-scale-ripplep>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-scale-ripple-multiple">
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-scale-ripple-multiplep>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-spin-fade-loader">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-spin-fade-loaderp>span>
      div>
      <div class="loader">
        <div class="loader-inner line-spin-fade-loader">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>line-spin-fade-loaderp>span>
      div>
      <div class="loader">
        <div class="loader-inner triangle-skew-spin">
          <div>div>
        div><span class="tooltip">
          <p>triangle-skew-spinp>span>
      div>
      <div class="loader">
        <div class="loader-inner pacman">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>pacmanp>span>
      div>
      <div class="loader">
        <div class="loader-inner semi-circle-spin">
          <div>div>
        div><span class="tooltip">
          <p>semi-circle-spinp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-grid-beat">
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-grid-beatp>span>
      div>
      <div class="loader">
        <div class="loader-inner ball-scale-random">
          <div>div>
          <div>div>
          <div>div>
        div><span class="tooltip">
          <p>ball-scale-randomp>span>
      div>
    div>
  main>
  <script>
    document.addEventListener('DOMContentLoaded', function () {
      document.querySelector('main').className += 'loaded';
    });
  script>
body>

你可能感兴趣的:(前端,css,前端)