Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
nourredine1981 authored Dec 31, 2024
1 parent 26e59f4 commit e6aee0f
Showing 1 changed file with 135 additions and 1 deletion.
136 changes: 135 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,107 @@

gtag('config', 'G-712V96H4N4');
</script>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700;800;900&display=swap');
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

.container {
width: 100%;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #2f363e;
}

#time {
display: flex;
gap: 40px;
color: #fff;
}

#time .circle {
position: relative;
width: 150px;
height: 150px;
display: flex;
justify-content: center;
align-items: center;
}

#time .circle svg {
position: relative;
width: 150px;
height: 150px;
transform: rotate(270deg);
}

#time .circle svg circle {
width: 100%;
height: 100%;
fill: transparent;
stroke: #191919;
stroke-width: 4px;
transform: translate(5px, 5px);
}

#time .circle svg circle:nth-child(2) {
stroke: var(--color);
stroke-dasharray: 440;
}

#time div {
position: absolute;
text-align: center;
font-size: 1.5rem;
font-weight: 500;
}

#time div span {
position: absolute;
transform: translate(-50%, 0px);
font-size: 0.5rem;
font-weight: 300;
letter-spacing: 0.1rem;
text-transform: uppercase;
}

#time .ap {
position: relative;
font-size: 1rem;
transform: translate(-20px);
}

.dots {
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
z-index: 10;
}

.dots::before {
content: '';
position: absolute;
top: -3px;
width: 15px;
height: 15px;
background: var(--color);
border-radius: 50%;
box-shadow: 0 0 20px var(--color), 0 0 60px var(--color );
}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Digital Clock</title></style>
<link rel="stylesheet" href="styles.css">
<script type="text/javascript" src="script.js"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0CV4WGTZQM"></script>
Expand Down Expand Up @@ -263,7 +364,40 @@


<body>
< <ul><li><a href="https://nourredine1981-github-io.translate.goog/nordine/?_x_tr_sl=auto&_x_tr_tl=ru&_x_tr_hl=en&_x_tr_pto=wapp">Russia</a></li></ul>

<div class="container">
<div id="time">
<div class="circle" style="--color: #ff2972">
<div class="dots h_dot"></div>
<svg>
<circle cx="70" cy="70" r="70"></circle>
<circle cx="70" cy="70" r="70" id="hh"></circle>
</svg>
<div id="hours">00</div>
</div>
<div class="circle" style="--color: #fee800">
<div class="dots m_dot"></div>
<svg>
<circle cx="70" cy="70" r="70"></circle>
<circle cx="70" cy="70" r="70" id="mm"></circle>
</svg>
<div id="minutes">00</div>
</div>
<div class="circle" style="--color: #04fc43">
<div class="dots s_dot"></div>
<svg>
<circle cx="70" cy="70" r="70"></circle>
<circle cx="70" cy="70" r="70" id="ss"></circle>
</svg>
<div id="seconds">00</div>
</div>
<div class="ap">
<div id="ampm">AM</div>
</div>
</div>
</div>

<ul><li><a href="https://nourredine1981-github-io.translate.goog/nordine/?_x_tr_sl=auto&_x_tr_tl=ru&_x_tr_hl=en&_x_tr_pto=wapp">Russia</a></li></ul>
<ul><li><a href="https://nourredine1981-github-io.translate.goog/nordine/?_x_tr_sl=auto&_x_tr_tl=ar&_x_tr_hl=en&_x_tr_pto=wapp">Arabe </a></li></ul>
<ul><li><a href="https://nourredine1981-github-io.translate.goog/nordine/?_x_tr_sl=auto&_x_tr_tl=es&_x_tr_hl=en&_x_tr_pto=wapp">Espagnol</a></li></ul>
<ul><li><a href="https://nourredine1981-github-io.translate.goog/nordine/?_x_tr_sl=auto&_x_tr_tl=la&_x_tr_hl=en&_x_tr_pto=wapp>LAtin</a></li></ul>
Expand Down

0 comments on commit e6aee0f

Please sign in to comment.