Skip to content

The Pyramide: Not as challenging as the real pyramids in Egypt, but the shadow path is not easy.

Notifications You must be signed in to change notification settings

Yashi-Singh-1/Day-03-The-Pyramide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Day 03: The Pyramide

Description

Welcome to Day 03 of the 100 Days CSS Challenge! This project, "The Pyramide," recreates a visually engaging animation of a pyramid and its shadow using pure CSS. While not as challenging as building the real pyramids in Egypt, creating the shadow path is a tricky part of this challenge.

Table of Contents

Preview

Check out the live preview of the project:

Pyramid Animation

Installation

To get a local copy of this project up and running, follow these steps:

  1. Clone the repository:
    git clone https://github.com/Yashi-Singh-1/Day-03-The-Pyramide.git
  2. Navigate to the project directory:
    cd Day-03-The-Pyramide
  3. Open the index.html file in your preferred browser:
    open index.html

Usage

Once you have the project up and running, you can view the pyramid animation. The animation simulates a day and night cycle, showing the transition of the sky color, the movement of the sun, and the shadow cast by the pyramid.

HTML Structure

The HTML structure is simple and consists of a main container with nested div elements representing different parts of the scene (sky, sun, pyramid sides, ground, and shadow).

CSS Styling

The CSS handles the visual representation and animations of the elements. Keyframes are used to create smooth transitions for the sky, sun, ground, pyramid shades, and shadow.

Challenge Details

  • Name: Day 03: The Pyramide
  • Description: Not as challenging as the real pyramids in Egypt, but the shadow path is not easy.
  • Challenge URL: 100 Days CSS - Day 03

This challenge focuses on mastering CSS animations and transformations. By completing this challenge, you will gain a deeper understanding of CSS properties such as clip-path, keyframes, and cubic-bezier timing functions.

Author

Feel free to reach out if you have any questions or suggestions!

Credits

This project is part of the 100 Days CSS Challenge. Special thanks to the creators of the challenge for providing a platform to improve CSS skills through fun and engaging projects.