April 2, 2024, 7:39 a.m. | developer

DEV Community dev.to




HTML


<div class="container"><div id="clock"></div></div>





CSS


`*{

margin: 0px;

padding: 0px;

}


.container{

width: 100vw;

height: 100vh;

overflow: hidden;

display: flex;

align-items: center;

justify-content: center;

background-color: rgb(67, 66, 66);

}





clock{


font-size: 5vw;
font-family: orbitron;
background-color: rgb(16, 16, 16);
border: 1vw solid black;
color: green;
width: 30vw;
height: 20vh;
display: flex;
align-items: center;
justify-content: center;


}

@media(max-width:800px)and (orientation:portrait){

#clock{

width: 98vw;

height: 25vh;

font-size: 18vw;

}

}


@media(max-width:786px)and (orientation:landscape){

#clock{

width: 98vw;

height: 50vh;

font-size: 18vw;

}

}





JS …

center class color css deploy family firebase flex green hidden html javascript overflow padding solid

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York