City Skyline is a simple web project created using HTML and CSS. It renders a basic skyline scene with buildings and windows, offering a visually appealing view reminiscent of a cityscape.
- Responsive Design: The skyline adapts to different screen sizes, providing a consistent experience across devices.
- Dynamic Styling: Customizable colors for buildings and windows, allowing for easy theme adjustments.
- Simple Structure: Built using straightforward HTML and CSS, making it easy to understand and modify.
- Clone this repository using Git:
git clone https://github.com/Yashi-Singh-1/City-Skyline.git
Alternatively, download the ZIP file from the GitHub repository and extract it to your project directory.
To use City Skyline in your project, follow these steps:
-
Include the styles.css file in your HTML.
-
Copy the HTML structure from index.html into your own HTML file.
-
Customize the colors and dimensions as needed.
-
Preview your page in a web browser to see the skyline rendered.
City Skyline offers easy customization options through CSS variables. You can adjust the following variables in your CSS file to customize the appearance:
- --building-color1, --building-color2, --building-color3, --building-color4: Colors of the buildings.
- --window-color1, --window-color2, --window-color3, --window-color4: Colors of the windows.
For example, to change the color of the buildings, you can override the --building-color1 variable like this:
:root { --building-color1: #ff0000; /* Red */ }
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request. Make sure to follow the.