School Clock Using CSS Moving Second Hand



😍😍Please like and subscribe πŸ™ πŸ™πŸ™ https://bit.ly/2SbMCLf How To Make Drop Down Menu Using HTML And CSS:https://youtu.be/BYr9OkdFjhs How To Create Login Form In HTML and CSS | Login Form In HTML and CSS:https://youtu.be/poxgUf9Ae-c how to make contact us form using html and css:https://youtu.be/jBPcT98hmvM How To Create Login Form In HTML and CSS | Make Sign In Form Design:https://youtu.be/8BWN4NuMyCQ Social media buttons with amazing hover effect using html & css:https://youtu.be/CE-GzdmC4bY Simple Text Animation Using html & css with Source Code || easy coding:https://youtu.be/x4-uk81nQIE how to create responsive navigation bar using html css:https://youtu.be/VXTQU79w0x0 css grid layout using html and css:https://youtu.be/2Su7z2hpEuY How To Create Social Media Buttons Html and Css;https://youtu.be/6RLUISe1Kx4 Neon Effect Using html and css:https://youtu.be/TXINIeIzcYE Landing Page Using html and css:https://youtu.be/foHyIPGMLAA responsive dropdown menu bar with html & css:https://youtu.be/xDYltdDWbeE social media buttons with awesome animation hover effects using html and css:https://youtu.be/FDJY1TvbUzQ Text Animation Effect Rotate Animation using html and css:https://youtu.be/OvegFqe9BAA Transparent Login Form Using HTML and CSS | Login Page in HTML CSS:https://youtu.be/pwCgzBv2Oo8




   <!-- Copyright 2013 Nikolai Rassadin <rassadin@gmail.com>
Content is licensed under CC BY-NC-SA 3.0 -->

<!-- Load CSS with current GMT time -->
<link href="http://tezla.ru/rassadin/wall-clock-demo/" rel="stylesheet" type="text/css" />

<div id="clock">
	<div id="a">
		<div id="b">
			<div id="c">
				<div id="d">
					<div id="sh">
						<div class="hh">
							<div class="h"></div>
						</div>
						<div class="mm">
							<div class="m"></div>
							<div class="mr"></div>
						</div>
						<div class="ss">
							<div class="s"></div>
						</div>
					</div>
					<div id="ii">
					<b><i></i><i></i><i></i><i></i></b>
					<b><i></i><i></i><i></i><i></i></b>
					<b><i></i><i></i><i></i><i></i></b>
					<b><i></i><i></i><i></i><i></i></b>
					<b><i></i><i></i><i></i><i></i></b>
					<b><i></i><i></i><i></i><i></i></b>
					</div>
					<div id="e">
						<div id="f">
							<u>12<u>1<u>2<u>3</u>4</u>5</u></u>
						</div>
						<div id="g">
							<u><u>11<u>10<u>9</u>8</u>7</u>6</u>
						</div>
						<div id="q"><a href="" style="position:relative;z-index:1000;color:#222;text-decoration:none;">quartz</a></div>
					</div>
					<div class="hh">
						<div class="h"></div>
					</div>
					<div class="mm">
						<div class="m"></div>
						<div class="mr"></div>
					</div>
					<div class="ss">
						<div class="s"></div>
						<div class="sr"></div>
					</div>
					<div id="k"></div>
				</div>
			</div>
		</div>
	</div>
</div>                    
                  
                



   

/*** Clock rules. Pure CSS ***/
#clock {
}
#a {
	width:10.0em;
	height:10.0em;
	position:relative;
	border-radius:5.0em;
	background:#ccc;/*ccc*/
	box-shadow:
		inset 0.05em -0.05em 0 #333, /*ccc*/
		inset 0.17em -0.17em 0 #555,
		inset -0.03em -0.04em 0 #333, /*999*/
		inset -0.03em 0.02em 0 #333, /*ccc*/
		inset -0.1em -0.1em 0 #555,
		0.1em 0.3em 0.2em rgba(0,0,0,0.3);
}
#b {
	width:9.4em;
	height:9.4em;
	top:0.3em;
	left:0.3em;
	position:relative;
	border-radius:4.7em;
	background:#fff;
	box-shadow:
		inset 0.04em 0 0 #fff,
		inset 0 -0.06em 0 #ddd,
		inset 0.16em -0.08em 0 #222,
		inset -0.16em 0.08em 0 #222,
		inset 0.2em 0.2em 0 #222,
		0.06em -0.03em 0 #999, 
		-0.1em 0.1em 0 #777,
		-0.13em -0.2em 0 #fff,
		0.13em 0.2em 0 #222,
		0.13em 0.3em 0 #333; /*ccc*/
}
#c {
	width:8.9em;
	height:8.9em;
	top:0.25em;
	left:0.25em; 
	position:relative;
	border-radius:4.45em;
	background:#eed;/*f4f5f6;*/
	box-shadow:
		inset 0.15em 0.2em 0.05em rgba(0,0,0,0.4),
		inset 0.2em 0.4em 0.2em rgba(0,0,0,0.3),
		inset 0 0.05em 0.3em rgba(0,0,0,0.1),
		-0.16em 0.08em 0 #444,
		0.16em -0.08em 0 #444;
}
#d { width:8.8em;
	 height:8.8em;
	 top:0.05em;
	 left:0.05em;
	 position:relative;
	 border-radius:4.4em;
}
#e { width:8.18em;
	 height:8.18em;
	 padding-top:4.09em;
	 box-sizing: border-box;
	 -moz-box-sizing: border-box;
	 -webkit-box-sizing: border-box;
	 left:0.29em;
	 top:0.29em;
	 position:absolute;
	 border:solid 0.04em rgba(0,0,0,0.5);
	 border-radius:4.09em;  
}
#ii {
	padding-left:4.34em;
	position:absolute;
}
b, i {
	height:8.2em; 
	position:absolute;
	display:block;
}
b {
	border:solid 0 #222;
	border-width:0.3em 0;
	width:0.12em;
}
i {
	border:solid 0 rgba(0,0,0,0.5);
	border-width:0.3em 0;
	width:0.04em;
}
b>i,i>i {
	transform:rotate(6deg) ;
	margin-top:-0.3em;
}
b>b  {
	transform:rotate(30deg);
	margin-top:-0.3em; }
b>i {
	left:0.03em;
}
#f,#g {
	font:1.2em/1.0em WallClock, sans-serif;
	text-align:center;
	width:6.8em;
    color:#222;
}
#g>u>u {	
	letter-spacing:0.1em;
}
#g>u>u>u {
	letter-spacing:0;
}
u {
	display:block;
	line-height:1em;
	text-decoration: none;
}
u>u>u>u {
	margin:0.5em -0.55em;
	padding: 0 0.05em;
}
u>u>u {
	margin:0.0em -1.75em;
	padding: 0 0.7em;
}
u>u {
	margin:-0.55em 0;
	text-align:right;
	padding: 0 1.65em;
}
#f {
	margin-top:-3.37em;
}
#g {
	margin-top:-6em;
}
#g u>u {
	text-align:left;
}
#q { 
	font:0.22em/1em Segoe UI,Helvetica,sans-serif;
	text-align:center;
	margin-top:-11.5em;
	color:#555;
}
.ss, .mm, .hh {
	width:8.0em;
	height:8.0em;
	top:0.4em;
	left:0.4em;
	position:absolute;
}
.hh {
	transform:rotate(-55deg);
}
.mm {
	transform:rotate(60deg);
}
.ss {
	animation: tick 1s normal infinite steps(25,end);
 }
@keyframes tick {
	0% { transform: rotate(0deg); }
	12% { transform:rotate(6deg); }
	100% { transform: rotate(6deg); }		
}
.s {
	width:0.1em;
	height:4.8em; 
	top:0.6em;
	left:3.95em;
	position:relative; 
	background:#a00;
	outline: 1px solid transparent; 
	animation: a360_10 60s normal infinite steps(60,end); 
}
.sr {
	width:0.3em;
	height:0.3em;
	background:#a00;
	margin:-0.95em 0 0 3.84em;
	border-radius:0.15em;
}
@keyframes a360_10  {
	0% { transform: translate(0, 1.0em) rotate(0deg) translate(0,-1.0em) }
	100% { transform: translate(0, 1.0em) rotate(360deg) translate(0,-1.0em) }
}

.m {
	height:4.8em;
	left:3.89em;
	width:0.22em;
	position:relative;
	background:#222;
	border:0 0 3.2em 0;
	animation: a36016 3600s normal infinite linear;
	outline: 1px solid transparent;
}
@keyframes a36016 {
	0% { transform: translate(0, 1.6em) rotate(0deg) translate(0,-1.6em); }
	100% { transform: translate(0, 1.6em) rotate(360deg) translate(0,-1.6em); }
}

.mr {
	width:0.5em;
	height:0.5em;
	background:#222;
	margin:-1.05em 0 0 3.74em;
	border-radius:0.25em;
}
.h { 
	width:0.3em;
	height:3.4em;
	left:3.85em;
	position:relative; 
	background:#222;
	margin-top:1.3em; 
	outline: 1px solid transparent;
	animation: a36010 43200s normal infinite linear;
}
#sh {
	width:8.0em;
	height:8.0em;
	top:0.2em;
	left:0.1em;
	position:absolute;
	/*display:none;*/
}
#sh .s, #sh .m, #sh .h, #sh .mr  {
	background:#ddc;
	box-shadow:0 0 0.05em #ddc, 0 0 0.025em #ddc;
}
#k {
	width:8.8em;
	height:8.8em;
	position:absolute;
	border-radius:4.4em;
	box-shadow:inset 0.45em 0.9em 0.05em rgba(250,252,253,0.2);
}
/* Vendor CSS prefixes */
#clock {
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
}
#clock b>i,
#clock i>i {
	-ms-transform:rotate(6deg);
	-webkit-transform:rotate(6deg);
}
#clock b>b {
	-ms-transform:rotate(30deg);
	-webkit-transform:rotate(30deg);
}
#clock .hh {
	-webkit-transform:rotate(-55deg);
}
#clock .mm {
	-webkit-transform:rotate(60deg);
}
#clock .ss {
	-webkit-animation: tick 1s normal infinite steps(25,end);
}
@-webkit-keyframes tick {
	0% { -webkit-transform: rotate(0deg); }
	12% { -webkit-transform:rotate(6deg); }
	100% { -webkit-transform: rotate(6deg); }		
}
#clock .s {
	-webkit-animation: a360_10 60s normal infinite steps(60,end); 
}
@-webkit-keyframes a360_10 {
	0% { -webkit-transform: translate(0, 1.0em) rotate(0deg) translate(0,-1.0em) }
	100% { -webkit-transform: translate(0, 1.0em) rotate(360deg) translate(0,-1.0em) }
}
#clock .m {
	-webkit-animation: a36016 3600s normal infinite linear;
}
@-webkit-keyframes a36016 {
	0% { -webkit-transform: translate(0, 1.6em) rotate(0deg) translate(0,-1.6em); }
	50% { -webkit-transform: translate(0, 1.6em) rotate(180deg) translate(0,-1.6em); }
	100% { -webkit-transform: translate(0, 1.6em) rotate(360deg) translate(0,-1.6em); }
}
#clock .h,
#css3fixed:checked ~ #clock .hh {
	-webkit-animation: a36010 43200s normal infinite linear;
}

/* Fixes */

#clock {
	transition:none;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
}


#clock b:nth-child(2) {
	transform:rotate(30deg);
	-ms-transform:rotate(30deg);
	-webkit-transform:rotate(30deg);
}
#clock b:nth-child(3) {
	transform:rotate(60deg);
	-ms-transform:rotate(60deg);
	-webkit-transform:rotate(60deg);
}
#clock b:nth-child(4) {
	transform:rotate(90deg);
	-ms-transform:rotate(90deg);
	-webkit-transform:rotate(90deg);
}
#clock b:nth-child(5) {
	transform:rotate(120deg);
	-ms-transform:rotate(120deg);
	-webkit-transform:rotate(120deg);
}
#clock b:nth-child(6) {
	transform:rotate(150deg);
	-ms-transform:rotate(150deg);
	-webkit-transform:rotate(150deg);
}
#clock i:nth-child(1) {
	transform:rotate(12deg);
	-ms-transform:rotate(12deg);
	-webkit-transform:rotate(12deg);
}
#clock i:nth-child(2) {
	transform:rotate(18deg);
	-ms-transform:rotate(18deg);
	-webkit-transform:rotate(18deg);
}
#clock i:nth-child(3) {
	transform:rotate(24deg);
	-ms-transform:rotate(24deg);
	-webkit-transform:rotate(24deg);	
}
#clock #f {
	-webkit-transform:translate(0,0.05em);				
}
/* IE10 fix */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	#css3fixed:checked ~  #clock i, #css3fixed:checked ~  #clock b {
		border-left:solid 0px #fff;
		border-right:solid 0px #fff;
	}
}
/* Opera rotation fix */
#clock .s {
	animation: a360_10of 60s normal infinite steps(60,end); 
}
@keyframes a360_10of {
	0% {  transform: translate(0, 1.0em) rotate(0deg) translate(0,-1.0em);
		-o-transform: translate(0, 2em) rotate(0deg) translate(0,-2em) }
	100% { transform: translate(0, 1.0em) rotate(360deg) translate(0,-1.0em);
		-o-transform: translate(0, 2em) rotate(360deg) translate(0,-2em) }
}


/*** Font for numbers ***/
@font-face {
    font-family: 'WallClock';
    asrc: url('wallclock.eot');
    }

@font-face {
    font-family: 'WallClock';
    src: 
url(data:font/otf;charset=utf-8;base64,T1RUTwANAIAAAwBQQ0ZGIE/fdygAAAIYAAAKvERTSUcAAAABAAAM1AAAAAhHUE9Tlz+W7wAADNwAAABwT1MvMl6AbIAAAADcAAAAYGNtYXASvinKAAAPEAAAAfhnYXNwAAAAEAAAAfgAAAAIaGVhZP9vfJwAAAGIAAAANmhoZWENKwZOAAABXAAAACRobXR4OGL+jgAAAcAAAAA4a2VybgALABoAAAIAAAAAGG1heHAADlAAAAABgAAAAAZuYW1lzcoX5QAADUwAAAHDcG9zdAADAAAAAAE8AAAAIAACBLIBkAAFAAAFRwVHAAAA3AVHBUcAAAI1AAAAAAAAAgAFBAAAAAAAAAAAAAEAAAAAAAAAAAAAAABQZkVkAEAAIAA5B9j/2P+oB4AAKAAAAAEAAAAAAAAAAAAAACAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAfY/9j/qAZo/z///wZpAAEAAAAAAAAAAAAAAAAA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