HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Error 403</title>
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">-->
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Anton'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="donuts">
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
<div class="donuts_mask">403</div>
</div>
<!--Добавления картинки с текстом (см. ниже)-->
<div class="text">
<h1>Доступ закрыт!</h1>
</div>
</body>
</html>
body {
background: #1e2832;
height: 100vh;
overflow: hidden;
display: flex;
font-family: 'Anton', sans-serif;
justify-content: center;
align-items: center;
color: rgb(236, 16, 16);
/*font-size: 11.2rem;*/
}
.donuts {
font-size: 11.2rem;
}
h1 {
/*width: 20px;
height: 20px;*/
font-size: 2.5em;
color: white;
font-family: 'Times New Roman', Times, serif;
margin-top: 300px;
margin-right: -200px;
margin-left: -140px;
}
.donuts_mask {
text-align: center;
display: flex;
justify-content: center;
align-items: center;
width: 500px;
height: 500px;
position: absolute;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
background: #1e2832;
}
.donuts_mask::before {
position: absolute;
height: 0;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%) scale(0.99);
transform: translate(-50%, -50%) scale(0.99);
border-radius: 100%;
background: #1e2832;
}
.donuts_mask:nth-child(1) {
z-index: 10;
-webkit-clip-path: circle(1%);
clip-path: circle(1%);
-webkit-animation: rotate 3000ms 664ms ease-in-out infinite;
animation: rotate 3000ms 664ms ease-in-out infinite;
}
.donuts_mask:nth-child(1)::before {
width: 0%;
padding-top: 0%;
}
.donuts_mask:nth-child(2) {
z-index: 9;
-webkit-clip-path: circle(2%);
clip-path: circle(2%);
-webkit-animation: rotate 3000ms 987ms ease-in-out infinite;
animation: rotate 3000ms 987ms ease-in-out infinite;
}
.donuts_mask:nth-child(2)::before {
width: 10%;
padding-top: 10%;
}
.donuts_mask:nth-child(3) {
z-index: 8;
-webkit-clip-path: circle(3%);
clip-path: circle(3%);
-webkit-animation: rotate 3000ms 722ms ease-in-out infinite;
animation: rotate 3000ms 722ms ease-in-out infinite;
}
.donuts_mask:nth-child(3)::before {
width: 20%;
padding-top: 20%;
}
.donuts_mask:nth-child(4) {
z-index: 7;
-webkit-clip-path: circle(4%);
clip-path: circle(4%);
-webkit-animation: rotate 3000ms 465ms ease-in-out infinite;
animation: rotate 3000ms 465ms ease-in-out infinite;
}
.donuts_mask:nth-child(4)::before {
width: 30%;
padding-top: 30%;
}
.donuts_mask:nth-child(5) {
z-index: 6;
-webkit-clip-path: circle(5%);
clip-path: circle(5%);
-webkit-animation: rotate 3000ms 439ms ease-in-out infinite;
animation: rotate 3000ms 439ms ease-in-out infinite;
}
.donuts_mask:nth-child(5)::before {
width: 40%;
padding-top: 40%;
}
.donuts_mask:nth-child(6) {
z-index: 5;
-webkit-clip-path: circle(6%);
clip-path: circle(6%);
-webkit-animation: rotate 3000ms 866ms ease-in-out infinite;
animation: rotate 3000ms 866ms ease-in-out infinite;
}
.donuts_mask:nth-child(6)::before {
width: 50%;
padding-top: 50%;
}
.donuts_mask:nth-child(7) {
z-index: 4;
-webkit-clip-path: circle(7%);
clip-path: circle(7%);
-webkit-animation: rotate 3000ms 360ms ease-in-out infinite;
animation: rotate 3000ms 360ms ease-in-out infinite;
}
.donuts_mask:nth-child(7)::before {
width: 60%;
padding-top: 60%;
}
.donuts_mask:nth-child(8) {
z-index: 3;
-webkit-clip-path: circle(8%);
clip-path: circle(8%);
-webkit-animation: rotate 3000ms 256ms ease-in-out infinite;
animation: rotate 3000ms 256ms ease-in-out infinite;
}
.donuts_mask:nth-child(8)::before {
width: 70%;
padding-top: 70%;
}
.donuts_mask:nth-child(9) {
z-index: 2;
-webkit-clip-path: circle(9%);
clip-path: circle(9%);
-webkit-animation: rotate 3000ms 454ms ease-in-out infinite;
animation: rotate 3000ms 454ms ease-in-out infinite;
}
.donuts_mask:nth-child(9)::before {
width: 80%;
padding-top: 80%;
}
.donuts_mask:nth-child(10) {
z-index: 1;
-webkit-clip-path: circle(10%);
clip-path: circle(10%);
-webkit-animation: rotate 3000ms 334ms ease-in-out infinite;
animation: rotate 3000ms 334ms ease-in-out infinite;
}
.donuts_mask:nth-child(10)::before {
width: 90%;
padding-top: 90%;
}
.donuts_mask:nth-child(11) {
z-index: 0;
-webkit-clip-path: circle(11%);
clip-path: circle(11%);
-webkit-animation: rotate 3000ms 404ms ease-in-out infinite;
animation: rotate 3000ms 404ms ease-in-out infinite;
}
.donuts_mask:nth-child(11)::before {
width: 100%;
padding-top: 100%;
}
.donuts_mask:nth-child(12) {
z-index: -1;
-webkit-clip-path: circle(12%);
clip-path: circle(12%);
-webkit-animation: rotate 3000ms 313ms ease-in-out infinite;
animation: rotate 3000ms 313ms ease-in-out infinite;
}
.donuts_mask:nth-child(12)::before {
width: 110%;
padding-top: 110%;
}
.donuts_mask:nth-child(13) {
z-index: -2;
-webkit-clip-path: circle(13%);
clip-path: circle(13%);
-webkit-animation: rotate 3000ms 922ms ease-in-out infinite;
animation: rotate 3000ms 922ms ease-in-out infinite;
}
.donuts_mask:nth-child(13)::before {
width: 120%;
padding-top: 120%;
}
.donuts_mask:nth-child(14) {
z-index: -3;
-webkit-clip-path: circle(14%);
clip-path: circle(14%);
-webkit-animation: rotate 3000ms 353ms ease-in-out infinite;
animation: rotate 3000ms 353ms ease-in-out infinite;
}
.donuts_mask:nth-child(14)::before {
width: 130%;
padding-top: 130%;
}
.donuts_mask:nth-child(15) {
z-index: -4;
-webkit-clip-path: circle(15%);
clip-path: circle(15%);
-webkit-animation: rotate 3000ms 732ms ease-in-out infinite;
animation: rotate 3000ms 732ms ease-in-out infinite;
}
.donuts_mask:nth-child(15)::before {
width: 140%;
padding-top: 140%;
}
.donuts_mask:nth-child(16) {
z-index: -5;
-webkit-clip-path: circle(16%);
clip-path: circle(16%);
-webkit-animation: rotate 3000ms 627ms ease-in-out infinite;
animation: rotate 3000ms 627ms ease-in-out infinite;
}
.donuts_mask:nth-child(16)::before {
width: 150%;
padding-top: 150%;
}
.donuts_mask:nth-child(17) {
z-index: -6;
-webkit-clip-path: circle(17%);
clip-path: circle(17%);
-webkit-animation: rotate 3000ms 420ms ease-in-out infinite;
animation: rotate 3000ms 420ms ease-in-out infinite;
}
.donuts_mask:nth-child(17)::before {
width: 160%;
padding-top: 160%;
}
.donuts_mask:nth-child(18) {
z-index: -7;
-webkit-clip-path: circle(18%);
clip-path: circle(18%);
-webkit-animation: rotate 3000ms 449ms ease-in-out infinite;
animation: rotate 3000ms 449ms ease-in-out infinite;
}
.donuts_mask:nth-child(18)::before {
width: 170%;
padding-top: 170%;
}
.donuts_mask:nth-child(19) {
z-index: -8;
-webkit-clip-path: circle(19%);
clip-path: circle(19%);
-webkit-animation: rotate 3000ms 890ms ease-in-out infinite;
animation: rotate 3000ms 890ms ease-in-out infinite;
}
.donuts_mask:nth-child(19)::before {
width: 180%;
padding-top: 180%;
}
.donuts_mask:nth-child(20) {
z-index: -9;
-webkit-clip-path: circle(20%);
clip-path: circle(20%);
-webkit-animation: rotate 3000ms 396ms ease-in-out infinite;
animation: rotate 3000ms 396ms ease-in-out infinite;
}
.donuts_mask:nth-child(20)::before {
width: 190%;
padding-top: 190%;
}
.donuts_mask:nth-child(21) {
z-index: -10;
-webkit-clip-path: circle(21%);
clip-path: circle(21%);
-webkit-animation: rotate 3000ms 738ms ease-in-out infinite;
animation: rotate 3000ms 738ms ease-in-out infinite;
}
.donuts_mask:nth-child(21)::before {
width: 200%;
padding-top: 200%;
}
.donuts_mask:nth-child(22) {
z-index: -11;
-webkit-clip-path: circle(22%);
clip-path: circle(22%);
-webkit-animation: rotate 3000ms 501ms ease-in-out infinite;
animation: rotate 3000ms 501ms ease-in-out infinite;
}
.donuts_mask:nth-child(22)::before {
width: 210%;
padding-top: 210%;
}
.donuts_mask:nth-child(23) {
z-index: -12;
-webkit-clip-path: circle(23%);
clip-path: circle(23%);
-webkit-animation: rotate 3000ms 469ms ease-in-out infinite;
animation: rotate 3000ms 469ms ease-in-out infinite;
}
.donuts_mask:nth-child(23)::before {
width: 220%;
padding-top: 220%;
}
.donuts_mask:nth-child(24) {
z-index: -13;
-webkit-clip-path: circle(24%);
clip-path: circle(24%);
-webkit-animation: rotate 3000ms 166ms ease-in-out infinite;
animation: rotate 3000ms 166ms ease-in-out infinite;
}
.donuts_mask:nth-child(24)::before {
width: 230%;
padding-top: 230%;
}
.donuts_mask:nth-child(25) {
z-index: -14;
-webkit-clip-path: circle(25%);
clip-path: circle(25%);
-webkit-animation: rotate 3000ms 659ms ease-in-out infinite;
animation: rotate 3000ms 659ms ease-in-out infinite;
}
.donuts_mask:nth-child(25)::before {
width: 240%;
padding-top: 240%;
}
.donuts_mask:nth-child(26) {
z-index: -15;
-webkit-clip-path: circle(26%);
clip-path: circle(26%);
-webkit-animation: rotate 3000ms 645ms ease-in-out infinite;
animation: rotate 3000ms 645ms ease-in-out infinite;
}
.donuts_mask:nth-child(26)::before {
width: 250%;
padding-top: 250%;
}
.donuts_mask:nth-child(27) {
z-index: -16;
-webkit-clip-path: circle(27%);
clip-path: circle(27%);
-webkit-animation: rotate 3000ms 389ms ease-in-out infinite;
animation: rotate 3000ms 389ms ease-in-out infinite;
}
.donuts_mask:nth-child(27)::before {
width: 260%;
padding-top: 260%;
}
.donuts_mask:nth-child(28) {
z-index: -17;
-webkit-clip-path: circle(28%);
clip-path: circle(28%);
-webkit-animation: rotate 3000ms 58ms ease-in-out infinite;
animation: rotate 3000ms 58ms ease-in-out infinite;
}
.donuts_mask:nth-child(28)::before {
width: 270%;
padding-top: 270%;
}
.donuts_mask:nth-child(29) {
z-index: -18;
-webkit-clip-path: circle(29%);
clip-path: circle(29%);
-webkit-animation: rotate 3000ms 714ms ease-in-out infinite;
animation: rotate 3000ms 714ms ease-in-out infinite;
}
.donuts_mask:nth-child(29)::before {
width: 280%;
padding-top: 280%;
}
.donuts_mask:nth-child(30) {
z-index: -19;
-webkit-clip-path: circle(30%);
clip-path: circle(30%);
-webkit-animation: rotate 3000ms 295ms ease-in-out infinite;
animation: rotate 3000ms 295ms ease-in-out infinite;
}
.donuts_mask:nth-child(30)::before {
width: 290%;
padding-top: 290%;
}
.donuts_mask:nth-child(31) {
z-index: -20;
-webkit-clip-path: circle(31%);
clip-path: circle(31%);
-webkit-animation: rotate 3000ms 485ms ease-in-out infinite;
animation: rotate 3000ms 485ms ease-in-out infinite;
}
.donuts_mask:nth-child(31)::before {
width: 300%;
padding-top: 300%;
}
.donuts_mask:nth-child(32) {
z-index: -21;
-webkit-clip-path: circle(32%);
clip-path: circle(32%);
-webkit-animation: rotate 3000ms 755ms ease-in-out infinite;
animation: rotate 3000ms 755ms ease-in-out infinite;
}
.donuts_mask:nth-child(32)::before {
width: 310%;
padding-top: 310%;
}
.donuts_mask:nth-child(33) {
z-index: -22;
-webkit-clip-path: circle(33%);
clip-path: circle(33%);
-webkit-animation: rotate 3000ms 227ms ease-in-out infinite;
animation: rotate 3000ms 227ms ease-in-out infinite;
}
.donuts_mask:nth-child(33)::before {
width: 320%;
padding-top: 320%;
}
.donuts_mask:nth-child(34) {
z-index: -23;
-webkit-clip-path: circle(34%);
clip-path: circle(34%);
-webkit-animation: rotate 3000ms 675ms ease-in-out infinite;
animation: rotate 3000ms 675ms ease-in-out infinite;
}
.donuts_mask:nth-child(34)::before {
width: 330%;
padding-top: 330%;
}
.donuts_mask:nth-child(35) {
z-index: -24;
-webkit-clip-path: circle(35%);
clip-path: circle(35%);
-webkit-animation: rotate 3000ms 159ms ease-in-out infinite;
animation: rotate 3000ms 159ms ease-in-out infinite;
}
.donuts_mask:nth-child(35)::before {
width: 340%;
padding-top: 340%;
}
.donuts_mask:nth-child(36) {
z-index: -25;
-webkit-clip-path: circle(36%);
clip-path: circle(36%);
-webkit-animation: rotate 3000ms 810ms ease-in-out infinite;
animation: rotate 3000ms 810ms ease-in-out infinite;
}
.donuts_mask:nth-child(36)::before {
width: 350%;
padding-top: 350%;
}
.donuts_mask:nth-child(37) {
z-index: -26;
-webkit-clip-path: circle(37%);
clip-path: circle(37%);
-webkit-animation: rotate 3000ms 154ms ease-in-out infinite;
animation: rotate 3000ms 154ms ease-in-out infinite;
}
.donuts_mask:nth-child(37)::before {
width: 360%;
padding-top: 360%;
}
.donuts_mask:nth-child(38) {
z-index: -27;
-webkit-clip-path: circle(38%);
clip-path: circle(38%);
-webkit-animation: rotate 3000ms 931ms ease-in-out infinite;
animation: rotate 3000ms 931ms ease-in-out infinite;
}
.donuts_mask:nth-child(38)::before {
width: 370%;
padding-top: 370%;
}
.donuts_mask:nth-child(39) {
z-index: -28;
-webkit-clip-path: circle(39%);
clip-path: circle(39%);
-webkit-animation: rotate 3000ms 436ms ease-in-out infinite;
animation: rotate 3000ms 436ms ease-in-out infinite;
}
.donuts_mask:nth-child(39)::before {
width: 380%;
padding-top: 380%;
}
.donuts_mask:nth-child(40) {
z-index: -29;
-webkit-clip-path: circle(40%);
clip-path: circle(40%);
-webkit-animation: rotate 3000ms 678ms ease-in-out infinite;
animation: rotate 3000ms 678ms ease-in-out infinite;
}
.donuts_mask:nth-child(40)::before {
width: 390%;
padding-top: 390%;
}
.donuts_mask:nth-child(41) {
z-index: -30;
-webkit-clip-path: circle(41%);
clip-path: circle(41%);
-webkit-animation: rotate 3000ms 676ms ease-in-out infinite;
animation: rotate 3000ms 676ms ease-in-out infinite;
}
.donuts_mask:nth-child(41)::before {
width: 400%;
padding-top: 400%;
}
.donuts_mask:nth-child(42) {
z-index: -31;
-webkit-clip-path: circle(42%);
clip-path: circle(42%);
-webkit-animation: rotate 3000ms 677ms ease-in-out infinite;
animation: rotate 3000ms 677ms ease-in-out infinite;
}
.donuts_mask:nth-child(42)::before {
width: 410%;
padding-top: 410%;
}
.donuts_mask:nth-child(43) {
z-index: -32;
-webkit-clip-path: circle(43%);
clip-path: circle(43%);
-webkit-animation: rotate 3000ms 533ms ease-in-out infinite;
animation: rotate 3000ms 533ms ease-in-out infinite;
}
.donuts_mask:nth-child(43)::before {
width: 420%;
padding-top: 420%;
}
.donuts_mask:nth-child(44) {
z-index: -33;
-webkit-clip-path: circle(44%);
clip-path: circle(44%);
-webkit-animation: rotate 3000ms 359ms ease-in-out infinite;
animation: rotate 3000ms 359ms ease-in-out infinite;
}
.donuts_mask:nth-child(44)::before {
width: 430%;
padding-top: 430%;
}
.donuts_mask:nth-child(45) {
z-index: -34;
-webkit-clip-path: circle(45%);
clip-path: circle(45%);
-webkit-animation: rotate 3000ms 862ms ease-in-out infinite;
animation: rotate 3000ms 862ms ease-in-out infinite;
}
.donuts_mask:nth-child(45)::before {
width: 440%;
padding-top: 440%;
}
.donuts_mask:nth-child(46) {
z-index: -35;
-webkit-clip-path: circle(46%);
clip-path: circle(46%);
-webkit-animation: rotate 3000ms 372ms ease-in-out infinite;
animation: rotate 3000ms 372ms ease-in-out infinite;
}
.donuts_mask:nth-child(46)::before {
width: 450%;
padding-top: 450%;
}
.donuts_mask:nth-child(47) {
z-index: -36;
-webkit-clip-path: circle(47%);
clip-path: circle(47%);
-webkit-animation: rotate 3000ms 699ms ease-in-out infinite;
animation: rotate 3000ms 699ms ease-in-out infinite;
}
.donuts_mask:nth-child(47)::before {
width: 460%;
padding-top: 460%;
}
.donuts_mask:nth-child(48) {
z-index: -37;
-webkit-clip-path: circle(48%);
clip-path: circle(48%);
-webkit-animation: rotate 3000ms 88ms ease-in-out infinite;
animation: rotate 3000ms 88ms ease-in-out infinite;
}
.donuts_mask:nth-child(48)::before {
width: 470%;
padding-top: 470%;
}
.donuts_mask:nth-child(49) {
z-index: -38;
-webkit-clip-path: circle(49%);
clip-path: circle(49%);
-webkit-animation: rotate 3000ms 168ms ease-in-out infinite;
animation: rotate 3000ms 168ms ease-in-out infinite;
}
.donuts_mask:nth-child(49)::before {
width: 480%;
padding-top: 480%;
}
.donuts_mask:nth-child(50) {
z-index: -39;
-webkit-clip-path: circle(50%);
clip-path: circle(50%);
-webkit-animation: rotate 3000ms 312ms ease-in-out infinite;
animation: rotate 3000ms 312ms ease-in-out infinite;
}
.donuts_mask:nth-child(50)::before {
width: 490%;
padding-top: 490%;
}
@-webkit-keyframes rotate {
0% {
-webkit-transform: translate(-50%, -50%) rotateZ(0deg);
transform: translate(-50%, -50%) rotateZ(0deg);
}
50% {
-webkit-transform: translate(-50%, -50%) rotateZ(360deg);
transform: translate(-50%, -50%) rotateZ(360deg);
}
}
@keyframes rotate {
0% {
-webkit-transform: translate(-50%, -50%) rotateZ(0deg);
transform: translate(-50%, -50%) rotateZ(0deg);
}
50% {
-webkit-transform: translate(-50%, -50%) rotateZ(360deg);
transform: translate(-50%, -50%) rotateZ(360deg);
}
}
Also see: Tab Triggers