Skip to content

A freeCodeCamp project: A changing color (day and night) city skyline!

Notifications You must be signed in to change notification settings

KhangMBui/City-Skyline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Changing Color (Day and Night) City Skyline

This project is a simple and visually captivating representation of a city skyline that transitions between day and night, creating a dynamic and atmospheric effect. The project uses HTML and CSS to create a charming cityscape that changes colors and lighting as the day progresses.

ezgif com-optimize

Project Files

  • citySkyline.html: This HTML file contains the structure of the city skyline, including the building layout and window configurations.

  • citySkyline.css: The CSS file provides the styling for the city skyline. It defines the colors, shapes, and animations that create the day-night transition effect.

Features

  • Realistic day-night cycle effect with smooth color transitions.
  • Creative use of CSS gradients and animations to simulate changing lighting conditions.
  • Organized CSS code using custom properties (variables) for easy customization.

How to Use

  1. Clone the repository to your local machine using Git or download the ZIP file.
  1. Open the project folder:
  • cd changing-city-skyline
  1. Open the citySkyline.html file in your web browser to view the changing city skyline.

Customization

You can customize the city skyline by modifying the CSS file (citySkyline.css). Here are some customization options:

  • Adjust the colors of the sky, buildings, and windows by changing the CSS variables defined at the beginning of the CSS file.

  • Experiment with different building shapes and sizes to create your own unique cityscape.

  • Modify the animation timings and transitions to change the speed of the day-night cycle.

Credits

This project was created by Khang Bui, with the instruction of freeCodeCamp, as a creative exploration of HTML and CSS for web design.

Enjoy exploring the changing city skyline!

About

A freeCodeCamp project: A changing color (day and night) city skyline!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published