cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              
<p><b>Proje 2 | </b></p>

<div id="j-in"><div class="dijital"></div></div> 
<div id="circle">
  <div id="circle-in">
    
    <div id="saat"><br>
      <!--Saat-->
      <b id="t12">XII</b>
      <b id="t1">I</b>
      <b id="t2">II</b>
      <b id="t3">III</b>
      <b id="t4">IV</b>
      <b id="t5">V</b>
      <b id="t6">VI</b>
      <b id="t7">VII</b>
      <b id="t8">VIII</b>
      <b id="t9">IX</b>
      <b id="t10">X</b>
      <b id="t11">XI</b>
   
    <div class="kök"></div>
      <div id="akrep"></div>
      <div id="yelkovan"></div>
      <div id="saniye"></div>
    </div>
  </div>
</div>


            
          
!
            
              html,body{
 font-family: Arial, Helvetica, sans-serif;}
p{font-size:20px;
  text-align:center; 
}
#circle{
  width:360px;
  height:360px;
  border-radius:50%;
  background-color:black;
  -moz-border-radius:50%;
  -webkit-border-radius:50%;
  margin:auto;
  box-shadow: 2px 20px 90px  black;
    text-shadow: 0 0 3px #FF0000;
  
  
  
}
#circle-in{background-color:white;border-radius:50%;height:340px;width:340px;margin:auto;
  margin-top:12px;margin-left:12px;position:absolute;
z-index:99;}

#t12{color:purple;
    margin-left:45%;margin-right:45%;font-size:35px;}
#t1{color:purple;
  font-size:35px;float:right;padding-right:85px;margin-top:-20px;}
#t2{color:purple;
  font-size:35px;float:right;margin-top:20px;margin-right:-60px;}
#t3{color:purple;
  font-size:35px;float:right;margin-top:85px;margin-right:-80px;}
#t4{color:purple;
  font-size:35px;float:right;margin-top:155px;margin-right:-70px;}
#t5{color:purple;
  font-size:35px;float:right;margin-top:210px;margin-right:-20px;}
#t6{color:purple;
  font-size:35px;float:right;margin-top:230px;margin-right:45px;}
#t7{color:purple;
  font-size:35px;float:right;margin-top:220px;margin-right:40px;}
#t8{color:purple;
  font-size:35px;float:right;margin-top:-95px;margin-right:80px;}
#t9{color:purple;
  font-size:35px;float:right;margin-top:-170px;margin-right:110px;}
#t10{color:purple;
  font-size:35px;float:right;margin-top:-245px;margin-right:280px;}
#t11{color:purple;
  font-size:35px;float:right;margin-top:-290px;margin-right:225px;}

.kök{
  width:9px;
  height:9px;
  border-radius:50%;
  background-color:black;
  margin:auto;
  margin-top:100px;
}
#akrep{width:120px;
  height:7px;
  margin:auto;
  border-radius:5px;
  margin-top:-7px;
  background: linear-gradient(80deg, transparent 50%, #000000 50%);
  }
#yelkovan{width:180px;background-color:black;height:3px;margin:auto;margin-top:-5px;
  border-radius:5px;
 transform:rotate(180deg);
   background: linear-gradient(80deg, transparent 50%, #000000 50%);
}
#saniye{width:200px;background-color:black;border-radius:5px;height:2px;margin:auto;margin-top:-5px;
 transform:rotate(235deg);
   background: linear-gradient(80deg, transparent 50%, #00f000 50%)}

.dijital{
  color:white;
  background-color:#789377;
  width:200px;
  height:50px;
  margin:auto;
 margin-bottom:10px;
 font-family:Impact;
  font-size:45px;
  text-align:center;
  text-shadow: 0 5px 5px #FF0000;
  transform:skew(10deg,0deg);
    padding:0px 5px 20px;
  box-shadow:4px 5px 7px orange; 
   transition: all .5s ease-in-out;
  animation-name: efect;
    animation-duration: 4s;
  animation-iteration-count: infinite;  
}
#j-in{
  animation:anime 4s infinite linear;
  height:50px;
  width:200px;
  transition: all .5s ease-in-out;
}

@keyframes efect {
    from {background-color: red;}
    to {background-color: yellow;}
}
@keyframes anime{
  30%{transform:translate(400px,170px)}
  40%{transform:rotate(70deg)}
  45%{transform:rotate(360deg)}
  50%{transform:translate(70px,35px)}
  70%{transform:rotate(360deg)}
  85%{transform:skew(20deg,15deg)}
  100%{transform:translate(20px,10px)}
  
  
}

            
          
!
            
              var saniye=0;
var yelkovan=0;
var akrep;
var date,hours,second,minutes;

 
var tamamla=function(f){
  return f<10? '0' +f:f;
};
setInterval(function(){   
date=new Date();
hours =tamamla(date.getHours());
minutes = tamamla(date.getMinutes());
second =tamamla(date.getSeconds()); 
//------------Dijital------
var birlestir = [hours,minutes,second].join(":");
document.querySelector(".dijital").innerHTML = birlestir;
// -the end->
},1000); 

//Anlık Saniye Yakala//
setInterval(momentSecond,5000);
momentSecond();
function momentSecond(){
if(second>=56 || second==0){
  document.getElementById("saniye").style.transform = "rotate(270deg)";
  saniye=270;
  
}else if(second>=51){
  document.getElementById("saniye").style.transform = "rotate(240deg)";
  saniye=240;
  
}else if(second>=46){
  document.getElementById("saniye").style.transform = "rotate(210deg)";
 saniye=210;
}else if(second>=40){
  document.getElementById("saniye").style.transform = "rotate(180deg)";
 saniye=180;
}else if(second>=36){
  document.getElementById("saniye").style.transform = "rotate(140deg)";
 saniye=140;
}else if(second>=31){
  document.getElementById("saniye").style.transform = "rotate(120deg)";
 saniye=120;
}else if(second>=26){
  document.getElementById("saniye").style.transform = "rotate(90deg)";
saniye=90;
}else if(second>=21){
  document.getElementById("saniye").style.transform = "rotate(60deg)";
  saniye=60;
}else if(second>=16){
  document.getElementById("saniye").style.transform = "rotate(30deg)";
  saniye=30;
}else if(second>=11){
  document.getElementById("saniye").style.transform = "rotate(0deg)";
 saniye=0;
}else if(second>=6){
  document.getElementById("saniye").style.transform = "rotate(-30deg)";
}else if(second <= 5){
  document.getElementById("saniye").style.transform = "rotate(-55deg)"; 
}
}
setInterval(function(){
 saniye+=6;
  document.getElementById("saniye").style.transform ="rotate("+saniye+"deg)";
},1000);

//end--->

//Anlık Dakika Verisi--//

setInterval(function(){
if(minutes>=56 || minutes==0){
  document.getElementById("yelkovan").style.transform = "rotate(270deg)";
  yelkovan=270;
}else if(minutes>=51){
  document.getElementById("yelkovan").style.transform = "rotate(240deg)";
  yelkovan=240;
}else if(minutes>=46){
  document.getElementById("yelkovan").style.transform = "rotate(210deg)";
  yelkovan=210;
}else if(minutes>=40){
  document.getElementById("yelkovan").style.transform = "rotate(180deg)";
  yelkovan=180;
}else if(minutes>=36){
  document.getElementById("yelkovan").style.transform = "rotate(140deg)";
  yelkovan=140;
}else if(minutes>=31){
  document.getElementById("yelkovan").style.transform = "rotate(120deg)";
  yelkovan=120;
}else if(minutes>=26){
  document.getElementById("yelkovan").style.transform = "rotate(90deg)";
  yelkovan=90;
}else if(minutes>=21){
  document.getElementById("yelkovan").style.transform = "rotate(60deg)";
  yelkovan=60;
}else if(minutes>=16){
  document.getElementById("yelkovan").style.transform = "rotate(30deg)";
}else if(minutes>=11){
  document.getElementById("yelkovan").style.transform = "rotate(0deg)";
  yelkovan=0;
}else if(minutes>=6){
  document.getElementById("yelkovan").style.transform = "rotate(-30deg)";
  yelkovan=-30;
}else if(minutes>0 || minutes <= 5){
  document.getElementById("yelkovan").style.transform = "rotate(-55deg)";
  yalkovan =-55;
}//Anlık Dakika Verisi
},1000);

//Anlık Saat 
MomentHours();
setInterval(MomentHours,1000);
function MomentHours(){
if(hours==00 || hours==12){
  document.getElementById("akrep").style.transform = "rotate(270deg)";
  
}else if(hours==23 || hours==11){
  document.getElementById("akrep").style.transform = "rotate(240deg)";
}else if(hours==22 || hours==10){
  document.getElementById("akrep").style.transform = "rotate(210deg)";
}else if(hours==21 || hours==9){
  document.getElementById("akrep").style.transform = "rotate(180deg)";
}else if(hours==20 ||hours==8){
  document.getElementById("akrep").style.transform = "rotate(140deg)";
}else if(hours==19 ||hours==7){
  document.getElementById("akrep").style.transform = "rotate(120deg)";
}else if(hours==18 || hours==6){
  document.getElementById("akrep").style.transform = "rotate(90deg)";
}else if(hours==17 || hours==5){
  document.getElementById("akrep").style.transform = "rotate(60deg)";
}else if(hours==16 || hours==4){
  document.getElementById("akrep").style.transform = "rotate(30deg)";
}else if(hours==15 || hours==3){
  document.getElementById("akrep").style.transform = "rotate(0deg)";
}else if(hours==14 || hours>=2){
  document.getElementById("akrep").style.transform = "rotate(-30deg)";
}else if(hours==13 || hours==1){
  document.getElementById("akrep").style.transform = "rotate(-55deg)"; 
}
}
//->> saat >>end
            
          
!
999px
Loading ..................

Console