Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Refactoring for Enhanced Maintainability and Efficiency #192

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

TornovDutta
Copy link
Contributor

About:

The refactored CSS eliminates redundancy by grouping similar styles together, such as buttons, inputs, and containers, which were previously defined multiple times. Repetitive properties like border-radius, padding, and font-size are consolidated, improving code clarity and maintainability. Additionally, hover effects and transitions for buttons and inputs are unified to maintain consistency. Media queries and animations remain intact, but unnecessary repetition is removed. This restructuring enhances readability, reduces file size, and ensures easier future updates while maintaining the same design and functionality across different elements.

sceenshot:

Before:

Screenshot 2024-10-13 003439

After:

Screenshot 2024-10-13 172124

@TornovDutta
Copy link
Contributor Author

Issuse number:
#185

@TornovDutta
Copy link
Contributor Author

@arushi2610 please label the PR and check the PR

@SaurabhS55
Copy link
Collaborator

image
refactor this page and resolve merge conflicts

@TornovDutta
Copy link
Contributor Author

TornovDutta commented Oct 13, 2024

image refactor this page and resolve merge conflicts

can you send me the link of this page?
@SaurabhS55

@SaurabhS55
Copy link
Collaborator

@SaurabhS55
Copy link
Collaborator

SaurabhS55 commented Oct 13, 2024

@TornovDutta share screenshots of your change?

@TornovDutta
Copy link
Contributor Author

About:

The refactored CSS eliminates redundancy by grouping similar styles together, such as buttons, inputs, and containers, which were previously defined multiple times. Repetitive properties like border-radius, padding, and font-size are consolidated, improving code clarity and maintainability. Additionally, hover effects and transitions for buttons and inputs are unified to maintain consistency. Media queries and animations remain intact, but unnecessary repetition is removed. This restructuring enhances readability, reduces file size, and ensures easier future updates while maintaining the same design and functionality across different elements.

sceenshot:

Before:

Screenshot 2024-10-13 003439

After:

Screenshot 2024-10-13 172124

@SaurabhS55
I share the sceenshot here

@SaurabhS55
Copy link
Collaborator

image
your screenshots are not visible

@TornovDutta
Copy link
Contributor Author

sceenshot:

Before:

Screenshot 2024-10-13 003439

After:

Screenshot 2024-10-13 172124

@SaurabhS55
Copy link
Collaborator

https://code-social.github.io/official-website/learning.html

Have you enhanced css of this page ?

@TornovDutta
Copy link
Contributor Author

no, i enhance this page css
https://code-social.github.io/official-website/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants