A demo of our animated svg spinners
Created
March 28, 2015 20:10
-
-
Save f8lrebel/69c8308b1eaba93299c8 to your computer and use it in GitHub Desktop.
Animated Spinners
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html ng-app="ionicApp"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> | |
<title>Ionic Pull to Refresh</title> | |
<link href="//code.ionicframework.com/nightly/css/ionic.css" rel="stylesheet"> | |
<script src="//code.ionicframework.com/nightly/js/ionic.bundle.js"></script> | |
</head> | |
<body ng-controller="MyCtrl"> | |
<ion-content scroll="false" class="has-header"> | |
<p> | |
<ion-spinner icon="android"></ion-spinner> | |
<ion-spinner icon="ios"></ion-spinner> | |
<ion-spinner icon="ios-small"></ion-spinner> | |
<ion-spinner icon="bubbles" class="spinner-balanced"></ion-spinner> | |
<ion-spinner icon="circles" class="spinner-energized"></ion-spinner> | |
</p> | |
<p> | |
<ion-spinner icon="crescent" class="spinner-royal"></ion-spinner> | |
<ion-spinner icon="dots" class="spinner-dark"></ion-spinner> | |
<ion-spinner icon="lines" class="spinner-calm"></ion-spinner> | |
<ion-spinner icon="ripple" class="spinner-assertive"></ion-spinner> | |
<ion-spinner icon="spiral"></ion-spinner> | |
</p> | |
</ion-content> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('ionicApp', ['ionic']) | |
.controller('MyCtrl', function($scope) { | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
cursor: url('http://ionicframework.com/img/finger.png'), auto; | |
} | |
p { | |
text-align: center; | |
margin-bottom: 40px !important; | |
} | |
.spinner svg { | |
width: 19% !important; | |
height: 85px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment