GithubHelp home page GithubHelp logo

withaarzoo / animated-clock Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8 KB

This project is a simple animated clock created using HTML and CSS. It displays an analog clock with rotating hour, minute, and second hands.

HTML 18.77% CSS 81.23%
codewithaarzoo css html htmlcss-project

animated-clock's Introduction

Animated Clock

This project is a simple animated clock created using HTML and CSS. It displays an analog clock with rotating hour, minute, and second hands .

Preview

preview

Features

  • Displays an analog clock with rotating hands to indicate the current time.
  • The hour hand completes one rotation every 12 hours, the minute hand completes one rotation every hour, and the second hand completes one rotation every minute.
  • The clock face has a stylish design with a gradient background and subtle shadow effects.

Technologies Used

  • HTML
  • CSS

How to Use

  1. Clone this repository to your local machine using git clone.
  2. Open the index.html file in a web browser.
  3. Observe the animated clock showing the current time.

Code Overview

HTML Structure

The HTML file (index.html) contains the basic structure of the web page with a div element representing the clock face. Inside this div, there are p elements for the clock indices and div elements for the hour, minute, and second hands.

CSS Styling

The CSS file (style.css) provides the styles for the clock and its components. It sets the position, size, and appearance of the clock face and hands. Keyframe animations (@keyframes) are used to rotate the hands continuously, simulating the passage of time.

Credits

This project was created by Aarzoo and is licensed under the MIT License. Feel free to use and modify this code for your projects. If you found it helpful, consider giving it a star on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

animated-clock's People

Contributors

withaarzoo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.