Having followed some projects over time, I discovered there were CSS properties that could have saved us from writing longer lines of CSS.
Being a beginner advocate of DRY code, I try my possible best to keep my codes short, simple and clean. That was what brought about this open source project.
I know there are so many CSS one-liners out there and I'd love to have them in one repo for everyone to have access to.
Your contribution will be highly appreciated.
The template for contribution has been added to the format.md file.
-
Fork the project repository into your github account.
-
Click the green Clone button and then copy the HTTPS URL.
-
Using Git on your local machine, clone your fork using the URL you just copied i.e git clone THE URL YOU FORKED INTO YOUR ACCOUNT.
-
Navigate to your local repository i.e cd CSS One-Liners.
-
Add the project repository as the "upstream" remote i.e git remote add upstream https://github.com/jhhornn/CSS-one-liners.git.
-
Pull the latest changes from upstream into your local repository i.e git pull upstream main.
-
Create and switch to a new branch with your name ( git checkout -b YOURNAME_NAME ).
-
Start the working directory with vs code to make changes by opening git bash in that folder and typing in
code .
-
Make changes in your local repository (css one-liner.md)
-
Stage your changes i.e git add -A
-
Commit your changes i.e git commit -m "your_name"
-
Push your changes to your fork i.e git push origin BRANCH_NAME
-
Go to github,reload your page to begin pull request. Click on compare and pull button
-
Scroll down to click COMPARE AND PULL button to create a pull request
-
Check if all the requests pass and wait for us to merge into main
Thank you for contributing